mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 09:57:37 +03:00 
			
		
		
		
	Update Aiohttp example
This commit is contained in:
		
							parent
							
								
									a029207eea
								
							
						
					
					
						commit
						9918c28866
					
				| 
						 | 
					@ -106,7 +106,6 @@ The output should be something like:
 | 
				
			||||||
   Name                            Stmts   Miss  Cover
 | 
					   Name                            Stmts   Miss  Cover
 | 
				
			||||||
   ---------------------------------------------------
 | 
					   ---------------------------------------------------
 | 
				
			||||||
   giphynavigator/__init__.py          0      0   100%
 | 
					   giphynavigator/__init__.py          0      0   100%
 | 
				
			||||||
   giphynavigator/__main__.py          5      5     0%
 | 
					 | 
				
			||||||
   giphynavigator/application.py      12      0   100%
 | 
					   giphynavigator/application.py      12      0   100%
 | 
				
			||||||
   giphynavigator/containers.py        6      0   100%
 | 
					   giphynavigator/containers.py        6      0   100%
 | 
				
			||||||
   giphynavigator/giphy.py            14      9    36%
 | 
					   giphynavigator/giphy.py            14      9    36%
 | 
				
			||||||
| 
						 | 
					@ -114,4 +113,4 @@ The output should be something like:
 | 
				
			||||||
   giphynavigator/services.py          9      1    89%
 | 
					   giphynavigator/services.py          9      1    89%
 | 
				
			||||||
   giphynavigator/tests.py            37      0   100%
 | 
					   giphynavigator/tests.py            37      0   100%
 | 
				
			||||||
   ---------------------------------------------------
 | 
					   ---------------------------------------------------
 | 
				
			||||||
   TOTAL                              92     15    84%
 | 
					   TOTAL                              87     10    89%
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +0,0 @@
 | 
				
			||||||
"""Main module."""
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
from aiohttp import web
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
from .application import create_app
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if __name__ == '__main__':
 | 
					 | 
				
			||||||
    app = create_app()
 | 
					 | 
				
			||||||
    web.run_app(app)
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user