bovid.app module¶
- bovid.app.APP: Final[BovidServerApp] = <bovid.server.BovidServerApp object>¶
ASGI Application singleton.
- Parameters:
scope (MutableMapping[str, Any])
receive (Callable[[], Awaitable[MutableMapping[str, Any]]])
send (Callable[[MutableMapping[str, Any]], Awaitable[None]])
- Return type:
None
- bovid.app.resolve_app()¶
ASGI app factory function using environment configuration.
- Return type:
- bovid.app.get_openapi_spec_yaml()¶
Get the OpenAPI spec for the application singleton.
- Return type:
None
- bovid.app.do_smoke_test(client)¶
Perform a smoke test.
- Parameters:
client (TestClient) – Test client connection to an ASGI server.
- Returns:
The smoke test model from the server.
- Return type:
smoke_model
- bovid.app.dry_smoke_test()¶
Run smoke test on server with constant configuration.
Provisions a new server application which is not configured from the environment.
- Return type:
None
- bovid.app.smoke_test()¶
Run a smoke test on application singleton.
- Return type:
None