Get Default Store • AI Agent SDK
get_default_store: Return the process-wide canonical schedule store.
get_default_store
Function
</div>
This function is defined in the scheduler module.
Return the process-wide canonical schedule store.
Lazily constructs a :class:ConfigYamlScheduleStore (persisting to `~/.praisonai/config.yaml) on first use, migrating any pre-existing jobs.json` data. All consumers share this single instance so a job authored on any surface is polled by the gateway ticker.
Signature
def get_default_store() -> AnyReturns
ResponseField
AnyThe result of the operation.
Uses
ConfigYamlScheduleStorestore.migrate_from_jsondebuglogging.getLogger
Source
View on GitHubpraisonaiagents/scheduler/__init__.py at line 51