Add ASGI app wrapper

This commit is contained in:
Lance Edgar 2022-12-28 16:03:49 -06:00
parent 4b814022b7
commit 469939db8c

View file

@ -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)