chore: use dockerfile instead of buildpack #13
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.
|