python-dependency-injector
python-dependency-injector copied to clipboard
Static typechecking for Configuration?
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.