Skip to content

Pydantic models for table json responses #914

Pydantic models for table json responses

Pydantic models for table json responses #914

Triggered via pull request August 1, 2023 14:10
@lukasjuhrichlukasjuhrich
synchronize #645
pydantic
Status Failure
Total duration 10m 6s
Artifacts 1

docker-image.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 7 warnings
pre-commit
Process completed with exit code 1.
Ruff (F402): web/table/table.py#L482
web/table/table.py:482:13: F402 Import `t` from line 3 shadowed by loop variable
python-lint
Process completed with exit code 1.
Error: web/blueprints/finance/__init__.py#L151
Argument "kto" to "BankAccountRow" has incompatible type "dict[Any, Any]"; expected "BtnColResponse" [arg-type]
Error: web/blueprints/finance/__init__.py#L190
Argument "amount" to "BankAccountActivityRow" has incompatible type "int"; expected "Decimal" [arg-type]
python-lint
Process completed with exit code 1.
Warning: pycroft/lib/user.py#L1
docstring of pycroft.lib.user.edit_email:8: Field list ends without a blank line; unexpected unindent.
Warning: pycroft/lib/user.py#L1
docstring of pycroft.lib.user.edit_birthdate:5: Field list ends without a blank line; unexpected unindent.
Warning: ldap_sync/sources/db.py#L1
docstring of ldap_sync.sources.db._fetch_db_properties:3: undefined label: 'exported_properties'
build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
coverage Expired
10.9 MB