Replies: 1 comment 1 reply
-
|
Unfortunately, this is a 3-year old problem #8983 and nobody's offered a working solution until now. So, if you manage to find one (or a workaround), please let us know :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
While trying to authorize on websocket endpoint, fastapi fails with exception:
TypeError: APIKeyCookie.__call__() missing 1 required positional argument: 'request'Tried to fix it it here
#9591
But tests did not pass, due to annotations
Already tried:
request: Optional[Request]request: Optional[Request, Websocket]request: Optional[Union[Request, WebSocket]]with no luck
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.95.1
Python Version
3.10.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions