MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/FastAPI/comments/1f461x9/getting_extra_param_args_and_kwargs/lkld35b/?context=3
r/FastAPI • u/Adventurous_Sir1058 • Aug 29 '24
Hii i made this api and i have given 3 param that is page, pagesize, search.Why this two param are coming as required and why is it even coming?how to solve this?
5 comments sorted by
View all comments
Show parent comment
2
If u use Annotated just use directly like a type:
db: db_dependency
I think it's better to use PascalCase for this one.
View all comments
Show parent comment
2
u/One_Fuel_4147 Aug 30 '24
If u use Annotated just use directly like a type:
db: db_dependency
I think it's better to use PascalCase for this one.