agentsociety.webapi.app

Module Contents

Functions

Data

API

agentsociety.webapi.app.__all__

[‘create_app’, ‘empty_get_tenant_id’]

agentsociety.webapi.app._script_dir

‘dirname(…)’

agentsociety.webapi.app._parent_dir

‘dirname(…)’

agentsociety.webapi.app.logger

‘getLogger(…)’

async agentsociety.webapi.app.empty_get_tenant_id(_: fastapi.Request) str
agentsociety.webapi.app._try_load_commercial_features(app: fastapi.FastAPI, commercial: Dict[str, Any]) None

try to load commercial features

agentsociety.webapi.app.create_app(db_dsn: str, read_only: bool, env: agentsociety.configs.EnvConfig, more_state: Dict[str, Any] = {}, commercial: Dict[str, Any] = {})