How do you properly define a FastAPI dependency that takes a parameter and returns a callable dependency?
ADefine a function that returns another function which uses the parameter, then pass the outer function with the parameter to Depends.
BPass the parameter directly inside Depends without wrapping it in another function.
CUse a class with __call__ method but do not accept parameters in the constructor.
DDeclare the dependency function with default parameters and call it directly in the route.