Skip to content

add download_url option for file attachment #103

add download_url option for file attachment

add download_url option for file attachment #103

Triggered via pull request January 4, 2024 19:45
Status Failure
Total duration 1m 2s
Artifacts

lint.yml

on: pull_request
Matrix: unit tests
Fit to window
Zoom out
Zoom in

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.