mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 18:07:44 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			218 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			218 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from dependency_injector import containers, providers
 | 
						|
 | 
						|
from .service import Service
 | 
						|
 | 
						|
 | 
						|
class Container(containers.DeclarativeContainer):
 | 
						|
 | 
						|
    config = providers.Configuration()
 | 
						|
 | 
						|
    service = providers.Factory(Service)
 |