from uvicorn import run as uvicorn_run from .dav_common import webdav_check def main() -> None: """ If the `main` script is run, `uvicorn` is used to run the app. """ if webdav_check(): uvicorn_run( app="ovdashboard_api:app", host="0.0.0.0", port=8000, reload=True, ) if __name__ == "__main__": main()