Add ASGI app wrapper
This commit is contained in:
		
							parent
							
								
									4b814022b7
								
							
						
					
					
						commit
						469939db8c
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -52,3 +52,12 @@ def main(global_config, **settings): | |||
|                              under='pyramid_tm.tm_tween_factory') | ||||
| 
 | ||||
|     return pyramid_config.make_wsgi_app() | ||||
| 
 | ||||
| 
 | ||||
| def asgi_main(): | ||||
|     """ | ||||
|     This function returns an ASGI application. | ||||
|     """ | ||||
|     from tailbone.asgi import make_asgi_app | ||||
| 
 | ||||
|     return make_asgi_app(main) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar