This commit is contained in:
Roman Mogylatov 2020-10-20 13:22:30 -04:00
parent ee809a44e6
commit f3e8dfaa3d

View File

@ -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__ + '.',