tiled.client.context.Context.from_app

classmethod Context.from_app(app, *, cache=<UNSET>, token_cache=None, headers=None, timeout=None, api_key=<UNSET>, raise_server_exceptions=True)[source]

Construct a Context around a FastAPI app. Primarily for testing.