mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 01:47:36 +03:00 
			
		
		
		
	Style: add blank lines between class definitions and attributes in annotated attribute example
This commit is contained in:
		
							parent
							
								
									7048c35138
								
							
						
					
					
						commit
						4e774084bc
					
				| 
						 | 
					@ -11,6 +11,7 @@ class Service:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Container(containers.DeclarativeContainer):
 | 
					class Container(containers.DeclarativeContainer):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    service = providers.Factory(Service)
 | 
					    service = providers.Factory(Service)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,6 +19,7 @@ service: Annotated[Service, Provide[Container.service]]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Main:
 | 
					class Main:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    service: Annotated[Service, Provide[Container.service]]
 | 
					    service: Annotated[Service, Provide[Container.service]]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user