mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-10-30 23:47:40 +03:00 
			
		
		
		
	Update quotes in commands-and-handlers example
This commit is contained in:
		
							parent
							
								
									02b9793189
								
							
						
					
					
						commit
						a9173496b4
					
				|  | @ -4,7 +4,7 @@ from .containers import Container | |||
| from .commands import SaveRating, DoSomethingElse | ||||
| 
 | ||||
| 
 | ||||
| if __name__ == '__main__': | ||||
| if __name__ == "__main__": | ||||
|     container = Container() | ||||
|     message_bus = container.message_bus() | ||||
| 
 | ||||
|  |  | |||
|  | @ -8,7 +8,7 @@ class CommandHandler: | |||
|         self.rating_repo = rating_repo | ||||
| 
 | ||||
|     def save_rating(self): | ||||
|         print('Saving rating') | ||||
|         print("Saving rating") | ||||
| 
 | ||||
|     def something_else(self): | ||||
|         print('Doing something else') | ||||
|         print("Doing something else") | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user