server.web.api

Functions

get_app(→ fastapi.FastAPI)

Get a FastAPI app based on the config. If no config is provided, defaults are used.

Module Contents

server.web.api.get_app(versions: List[str] | None = None) fastapi.FastAPI[source]

Get a FastAPI app based on the config. If no config is provided, defaults are used.

Parameters:
  • versions – The versions of the API to include.

  • log_config_file – Path to the logging configuration file.