mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-10-31 07:57:43 +03:00 
			
		
		
		
	Update README.rst
This commit is contained in:
		
							parent
							
								
									78ef481ceb
								
							
						
					
					
						commit
						725f6e896f
					
				|  | @ -113,9 +113,7 @@ Run the application: | ||||||
|        auth_service = application.auth_service() |        auth_service = application.auth_service() | ||||||
|        photos_service = application.photos_service() |        photos_service = application.photos_service() | ||||||
|          |          | ||||||
|        user = users_service.get_user_by_id(uid) |        ... | ||||||
|        auth_service.authenticate(user, password) |  | ||||||
|        photos_service.upload_photo(user['uid'], photo) |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|     if __name__ == '__main__': |     if __name__ == '__main__': | ||||||
|  | @ -130,7 +128,7 @@ on our GitHub: | ||||||
| How to install? | How to install? | ||||||
| --------------- | --------------- | ||||||
| 
 | 
 | ||||||
| ``Dependency Injector`` is available on `PyPi`_: | ``Dependency Injector`` is available on `PyPi`_:: | ||||||
| 
 | 
 | ||||||
|     pip install dependency-injector |     pip install dependency-injector | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user