Skip to content

[web] Use webargs instead of flask_restful.reqparse #977

[web] Use webargs instead of flask_restful.reqparse

[web] Use webargs instead of flask_restful.reqparse #977

Triggered via pull request September 29, 2023 12:27
Status Failure
Total duration 8m 55s
Artifacts 1

docker-image.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 7 warnings
Error: web/api/v0/__init__.py#L275
Call to untyped function "IP" in typed context [no-untyped-call]
Error: web/api/v0/__init__.py#L279
Function is missing a type annotation for one or more arguments [no-untyped-def]
Error: web/api/v0/__init__.py#L391
Incompatible types in assignment (expression has type "str", variable has type "SQLCoreOperations[date] | date") [assignment]
Error: web/api/v0/__init__.py#L562
Argument 3 to "get_swdd_person_id" has incompatible type "date"; expected "str" [arg-type]
Error: web/api/v0/__init__.py#L566
Argument 3 to "get_swdd_person_id" has incompatible type "date"; expected "str" [arg-type]
Error: web/api/v0/__init__.py#L648
Argument 3 to "get_swdd_person_id" has incompatible type "date"; expected "str" [arg-type]
Error: web/api/v0/__init__.py#L653
Argument 3 to "get_swdd_person_id" has incompatible type "date"; expected "str" [arg-type]
python-lint
Process completed with exit code 1.
test_ldap_sync.test_ldap_base_exists: tests/ldap_sync/test_ldap_sync.py#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
test_ldap_sync.test_adding_an_entry_works: tests/ldap_sync/test_ldap_sync.py#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestInitialSync.test_connection_works: TestInitialSync#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestInitialSync.test_initial_state: TestInitialSync#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestInitialSync.test_syncall_adds_entries: TestInitialSync#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestInitialSync.test_exporter_compiles_all_addactions: TestInitialSync#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_idempotency_of_two_syncs: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_user_attributes_synced_correctly: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_group_attributes_synced_correctly: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_property_attributes_synced_correctly: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_mail_deletion: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_mail_creation: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
TestLdapSyncerOnceSynced.test_no_desired_records_removes_everything: TestLdapSyncerOnceSynced#L1
failed on setup with "ldap3.core.exceptions.LDAPSocketOpenError: invalid server address"
test
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
11 MB