mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 01:47:36 +03:00 
			
		
		
		
	Add reference to provider overriding page
This commit is contained in:
		
							parent
							
								
									f8648adaf7
								
							
						
					
					
						commit
						3eb7b9bc69
					
				| 
						 | 
					@ -26,7 +26,7 @@ It causes the cascade effect that helps to assemble object graphs.
 | 
				
			||||||
Another providers feature is an overriding. Any of the providers can be overridden by another
 | 
					Another providers feature is an overriding. Any of the providers can be overridden by another
 | 
				
			||||||
provider. When provider is overridden it calls to the overriding provider instead of providing
 | 
					provider. When provider is overridden it calls to the overriding provider instead of providing
 | 
				
			||||||
the object by its own. This helps in testing. This also helps in overriding API clients with
 | 
					the object by its own. This helps in testing. This also helps in overriding API clients with
 | 
				
			||||||
stubs for the development or staging environment.
 | 
					stubs for the development or staging environment. See the example at :ref:`provider-overriding`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Providers module API docs - :py:mod:`dependency_injector.providers`
 | 
					Providers module API docs - :py:mod:`dependency_injector.providers`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,5 @@
 | 
				
			||||||
 | 
					.. _provider-overriding:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Provider overriding
 | 
					Provider overriding
 | 
				
			||||||
===================
 | 
					===================
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user