Skip to content

chore(deps): update dependency fastapi-cache2 to v0.2.2 - autoclosed #18

chore(deps): update dependency fastapi-cache2 to v0.2.2 - autoclosed

chore(deps): update dependency fastapi-cache2 to v0.2.2 - autoclosed #18

Triggered via pull request August 9, 2024 04:18
Status Failure
Total duration 24s
Artifacts

pyright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
pyright: mona/app.py#L105
Cannot access attribute "get" for class "Response"   Attribute "get" is unknown (reportAttributeAccessIssue)
pyright: mona/app.py#L106
Cannot access attribute "get" for class "Response"   Attribute "get" is unknown (reportAttributeAccessIssue)
pyright: mona/app.py#L136
Argument of type "str | Response" cannot be assigned to parameter "url" of type "str | URL" in function "__init__" (reportArgumentType)
pyright: mona/app.py#L139
Argument of type "str | Response" cannot be assigned to parameter "url" of type "str | URL" in function "__init__" (reportArgumentType)
pyright: mona/app.py#L151
Cannot access attribute "get" for class "Response"   Attribute "get" is unknown (reportAttributeAccessIssue)
pyright: mona/app.py#L152
Cannot access attribute "get" for class "Response"   Attribute "get" is unknown (reportAttributeAccessIssue)
pyright: mona/app.py#L173
Argument of type "list[dict[Unknown, Unknown]] | Response" cannot be assigned to parameter "seq" of type "SupportsLenAndGetItem[_T@choice]" in function "choice"   Type "list[dict[Unknown, Unknown]] | Response" is incompatible with type "SupportsLenAndGetItem[_T@choice]"     "Response" is incompatible with protocol "SupportsLenAndGetItem[_T@choice]"       "__len__" is not present       "__getitem__" is not present (reportArgumentType)
pyright: mona/app.py#L200
Argument of type "str | Response" cannot be assigned to parameter "url" of type "str | URL" in function "__init__" (reportArgumentType)
pyright
8 errors
pyright
The `python-version` input is not set. The version of Python currently in `PATH` will be used.