mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 18:07:44 +03:00 
			
		
		
		
	Update single container example
This commit is contained in:
		
							parent
							
								
									bbd8b78a05
								
							
						
					
					
						commit
						3e2a0049d7
					
				| 
						 | 
				
			
			@ -26,6 +26,6 @@ if __name__ == '__main__':
 | 
			
		|||
    container = Container()
 | 
			
		||||
    container.init_resources()
 | 
			
		||||
    container.config.from_ini('config.ini')
 | 
			
		||||
    container.wire(modules=[sys.modules[__name__]])
 | 
			
		||||
    container.wire(modules=[__name__])
 | 
			
		||||
 | 
			
		||||
    main(*sys.argv[1:])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user