mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-10-30 23:47:40 +03:00 
			
		
		
		
	Update bundles example after configuration provider refactoring
This commit is contained in:
		
							parent
							
								
									e877b33fd1
								
							
						
					
					
						commit
						4b863a659e
					
				|  | @ -23,8 +23,7 @@ class Core(containers.DeclarativeContainer): | ||||||
| 
 | 
 | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|     # Initializing containers |     # Initializing containers | ||||||
|     core = Core() |     core = Core(config={'database': {'dsn': ':memory:'}, | ||||||
|     core.config.update({'database': {'dsn': ':memory:'}, |  | ||||||
|                         'aws': {'access_key_id': 'KEY', |                         'aws': {'access_key_id': 'KEY', | ||||||
|                                 'secret_access_key': 'SECRET'}}) |                                 'secret_access_key': 'SECRET'}}) | ||||||
|     users = Users(database=core.sqlite) |     users = Users(database=core.sqlite) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user