Prepare release 0.0.20 #295
Annotations
4 errors and 1 warning
src/fastapi_poe/base.py#L57
Cannot access attribute "decode" for class "memoryview[int]"
Attribute "decode" is unknown (reportAttributeAccessIssue)
|
src/fastapi_poe/base.py#L265
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)
|
src/fastapi_poe/samples/echo.py#L17
Method "get_response" overrides class "PoeBot" in an incompatible manner
Parameter 2 name mismatch: base parameter is named "query", override parameter is named "request" (reportIncompatibleMethodOverride)
|
|
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