Skip to content

fix responses

fix responses #31

Triggered via push April 15, 2024 08:17
Status Failure
Total duration 1m 3s
Artifacts

ci-cd.yml

on: push
Run tests
56s
Run tests
run pre-commit
18s
run pre-commit
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
run pre-commit
Process completed with exit code 1.
Run tests: server/controllers/admin.py#L21
Argument missing for parameter "responses" (reportCallIssue)
Run tests: server/controllers/admin.py#L33
Cannot access member "query" for type "type[Document]"   Member "query" is unknown (reportAttributeAccessIssue)
Run tests: server/controllers/admin.py#L50
Cannot access member "query" for type "type[Document]"   Member "query" is unknown (reportAttributeAccessIssue)
Run tests: server/controllers/admin.py#L64
Cannot access member "query" for type "type[Document]"   Member "query" is unknown (reportAttributeAccessIssue)
Run tests: server/controllers/admin.py#L71
Cannot access member "query" for type "type[Document]"   Member "query" is unknown (reportAttributeAccessIssue)
Run tests: server/controllers/admin.py#L94
Argument missing for parameter "responses" (reportCallIssue)
Run tests: server/controllers/admin.py#L110
Cannot access member "query" for type "type[Document]"   Member "query" is unknown (reportAttributeAccessIssue)
Run tests: server/controllers/admin.py#L134
Argument missing for parameter "responses" (reportCallIssue)
Run tests: server/controllers/admin.py#L135
Invalid conditional operand of type "Series | NDArray[bool_]"   Method __bool__ for type "Series" returns type "NoReturn" rather than "bool" (reportGeneralTypeIssues)
Run tests: server/controllers/admin.py#L138
Invalid conditional operand of type "Series | NDArray[bool_]"   Method __bool__ for type "Series" returns type "NoReturn" rather than "bool" (reportGeneralTypeIssues)
Run tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.