Replies: 3 comments
-
|
Hello @Euraxluo ! Can you please provide a minimal reproducible example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
in Example Code area |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Simply read the code and you'll know where the problem is |
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
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
I built my own APIRouter object, using custom APIRoute and APIRouter classes. However, when I use "include router", everything will reset. I changed the function signature of the apirouter object, especially the "dependent" property. But because "include router" runs again, it fails. Why not "include router" directly for the "dependent" attribute about the attribute value of the object passed in by router
i change dependant bynew_typed_signature and new_dependant .
My requirement is to generate API through function signature, including document and route
include_router function,bug use all add* function, that is a bug.
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.65.2
Python Version
Python 3.8.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions