wsgi_app
functiongworker_client.endpoints.wsgi_app
Mark the task as a WSGI app factory. The decorated function must return a WSGI-compatible callable (Flask, Django, etc.). gworker wraps it in an ASGI adapter automatically.
Signature
python
1wsgi_app(requires_auth: bool = True) -> Callable[[_F], _F]