FastAgency
fastagency.app.FastAgency #
FastAgency(
provider: ProviderProtocol,
ui: UIBase,
*,
title: Optional[str] = None,
description: Optional[str] = None
)
Initialize the FastAgency object.
PARAMETER | DESCRIPTION |
---|---|
provider | The provider object to use TYPE: |
ui | The UI object to use TYPE: |
title | The title of the FastAgency. If None, the default string will be used. Defaults to None. |
description | The description of the FastAgency. If None, the default string will be used. Defaults to None. |
Source code in fastagency/app.py
create #
handle_asgi async
#
handle_asgi(
scope: dict[str, Any],
receive: Callable[[dict[str, Any]], Awaitable[None]],
send: Callable[[dict[str, Any]], Awaitable[None]],
) -> None