Skip to main content

main

start

def start(extra=None)

The start function reads the Configuration for an application from DARA_CONFIG_PATH env var and creates an ASGI instance of FastAPI to serve the app. See the project docs for more details

Note: start takes an extra param in case uvicorn passes extra data here. It's not currently used but it's necessary to prevent errors such as start() takes 0 positional arguments but 1 was given happening which prevent real errors from showing up in the console.