Plain is headed towards 1.0! Subscribe for development updates →
1from __future__ import annotations 2 3import plain.runtime 4from plain.internal.handlers.wsgi import WSGIHandler 5 6 7def _get_wsgi_application() -> WSGIHandler: 8 plain.runtime.setup() 9 return WSGIHandler() 10 11 12# The default `plain.wsgi:app` WSGI application 13app = _get_wsgi_application()