MCPcopy
hub / github.com/encode/starlette / get_app

Function get_app

tests/test_applications.py:483–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 await self.app(scope, receive, send)
482
483 def get_app() -> ASGIApp:
484 app = Starlette()
485 app.add_middleware(SimpleInitializableMiddleware)
486 app.add_middleware(NoOpMiddleware)
487 return app
488
489 app = get_app()
490

Callers 1

Calls 2

add_middlewareMethod · 0.95
StarletteClass · 0.90

Tested by

no test coverage detected