Using starlette , implement a WSGI-to-ASGI bridge utility called wsgi app bridge in task module.py .
Using starlette , implement a WSGI-to-ASGI bridge utility called wsgi app bridge in task module.py .: a task in repo2rlenv-code-instruct (Harbor dataset). Your task: given a plain WSGI callable, wrap it so it can be mounted inside a starlette application using…
The task
Your task: given a plain WSGI callable, wrap it so it can be mounted inside a `starlette` application using `starlette.middleware.wsgi.WSGIMiddleware`. Then expose a helper function `make_starlette_app` that accepts a WSGI callable and returns a fully-functional `starlette.applications.Starlette` application with the…
Part of FineEnvs/repo2rlenv-code-instruct.