mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-23 05:56:19 +03:00
Add fix
This commit is contained in:
parent
ee809a44e6
commit
f3e8dfaa3d
|
@ -225,7 +225,7 @@ def _resolve_injections(fn: Callable[..., Any], providers_map: ProvidersMap) ->
|
|||
|
||||
|
||||
def _fetch_modules(package):
|
||||
modules = []
|
||||
modules = [package]
|
||||
for loader, module_name, is_pkg in pkgutil.walk_packages(
|
||||
path=package.__path__,
|
||||
prefix=package.__name__ + '.',
|
||||
|
|
Loading…
Reference in New Issue
Block a user