Replies: 2 comments 1 reply
-
I believe this may be related to the use of SecurityScopes |
Beta Was this translation helpful? Give feedback.
1 reply
-
We are discussing this issue here. I encourage you to join us and express your opinion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
I am trying to tell what's going wrong with my code example. I understand that dependencies are supposed to be cached per request so they are only solved one time for each request (docs link). However here's what happens:
get_current_user_from_header
to be solved only onceget_current_user_from_header
dependency is solved twice (print statement is displayed twice)Operating System
Windows
Operating System Details
Issue is present on Windows or Linux
FastAPI Version
0.95.1
Python Version
3.10.1
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions