add download_url option for file attachment #103
lint.yml
on: pull_request
precommit
33s
pyright
14s
Matrix: unit tests
Annotations
3 errors
pyright:
src/fastapi_poe/base.py#L352
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" cannot be assigned to type "ExceptionHandler"
Type "(request: Request, ex: HTTPException) -> None" cannot be assigned to type "HTTPExceptionHandler"
Parameter 2: type "Exception" cannot be assigned to type "HTTPException"
"Exception" is incompatible with "HTTPException"
Function return type "None" is incompatible with type "Response | Awaitable[Response]"
Type "None" cannot be assigned to type "Response | Awaitable[Response]"
"None" is incompatible with "Response"
"None" is incompatible with protocol "Awaitable[Response]"
... (reportGeneralTypeIssues)
|
pyright
1 error
|
precommit
Process completed with exit code 1.
|