Add new fields for API 1.2 #308
Annotations
3 errors and 1 warning
src/fastapi_poe/base.py#L53
Cannot access attribute "decode" for class "memoryview[int]"
Attribute "decode" is unknown (reportAttributeAccessIssue)
|
src/fastapi_poe/base.py#L204
Argument of type "(request: Request, ex: HTTPException) -> None" cannot be assigned to parameter "handler" of type "ExceptionHandler" in function "add_exception_handler"
Type "(request: Request, ex: HTTPException) -> None" is not assignable to type "ExceptionHandler"
Type "(request: Request, ex: HTTPException) -> None" is not assignable to type "HTTPExceptionHandler"
Parameter 2: type "Exception" is incompatible with type "HTTPException"
"Exception" is not assignable to "HTTPException"
Function return type "None" is incompatible with type "Response | Awaitable[Response]"
Type "None" is not assignable to type "Response | Awaitable[Response]"
"None" is not assignable to "Response"
"None" is incompatible with protocol "Awaitable[Response]"
... (reportArgumentType)
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading