mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 09:57:37 +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):
 | 
					def _fetch_modules(package):
 | 
				
			||||||
    modules = []
 | 
					    modules = [package]
 | 
				
			||||||
    for loader, module_name, is_pkg in pkgutil.walk_packages(
 | 
					    for loader, module_name, is_pkg in pkgutil.walk_packages(
 | 
				
			||||||
            path=package.__path__,
 | 
					            path=package.__path__,
 | 
				
			||||||
            prefix=package.__name__ + '.',
 | 
					            prefix=package.__name__ + '.',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user