python-dependency-injector icon indicating copy to clipboard operation
python-dependency-injector copied to clipboard

Static typechecking for Configuration?

Open jasonprado opened this issue 2 years ago • 0 comments

Is there a way to use type hints with providers.Configuration? Right now I'm loading config settings in with from_env or from_yaml then injecting them them using Container.config.foo.bar, but I don't know until my code executes if I spelled the name of the config right.

jasonprado avatar Jan 05 '24 22:01 jasonprado