Skip to content

msaServer Module

.srv_uvicorn


Classes

MSAServerUvicorn

Attributes

app instance-attribute
app: str = app
app_dir instance-attribute
app_dir: str = app_dir
host instance-attribute
host: str = host
log_config instance-attribute
log_config = uvicorn.config.LOGGING_CONFIG
log_level instance-attribute
log_level: str = log_level
port instance-attribute
port: int = port
reload instance-attribute
reload: bool = reload
workers instance-attribute
workers: int = workers

Functions

__init__
__init__(
    app: str,
    app_dir: str,
    host: str,
    port: int,
    reload: bool = False,
    log_level: str = "info",
    workers: int = 1,
) -> None
run
run()

Last update: September 28, 2022
Created: September 28, 2022