fix nathan wang type errors #23
Annotations
10 errors and 1 warning
Run Pyright:
server/cli.py#L28
Argument missing for parameter "last_email" (reportCallIssue)
|
Run Pyright:
server/cli.py#L31
Argument missing for parameter "thread" (reportCallIssue)
|
Run Pyright:
server/cli.py#L55
Argument of type "str" cannot be assigned to parameter "email_id" of type "SQLCoreOperations[int] | int" in function "__init__"
Type "str" cannot be assigned to type "SQLCoreOperations[int] | int"
"str" is incompatible with "SQLCoreOperations[int]"
"str" is incompatible with "int" (reportArgumentType)
|
Run Pyright:
server/controllers/admin.py#L33
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
server/controllers/admin.py#L50
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
server/controllers/admin.py#L64
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
server/controllers/admin.py#L71
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
server/controllers/admin.py#L110
Cannot access member "query" for type "type[Document]"
Member "query" is unknown (reportAttributeAccessIssue)
|
Run Pyright:
server/controllers/admin.py#L135
Argument of type "Series | Any | ndarray[Any, Unknown] | Unknown | NDArray[Unknown] | Literal['']" cannot be assigned to parameter "question" of type "SQLCoreOperations[str] | str" in function "__init__" (reportArgumentType)
|
Run Pyright:
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)
|
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/.
|
Loading