create_app¶
Defined in dccd.interfaces.api.app
- create_app(config_path=None, config=None, scheduler=None)[source]
Create and return the FastAPI application.
- Parameters:
- config_pathstr or Path or None
Path to
config.yml. Resolved via XDG fallback whenNone.- configAppConfig or None
Pre-loaded config. Takes precedence over config_path.
- schedulerScheduler or None
Pass a running
Schedulerfromdccd startso the UI controls the live daemon’s jobs and streams. WhenNone, a standalone (non-started) scheduler is created.