Skip to main content

get_default_store

Function
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

Returns

Any
The result of the operation.

Uses

  • ConfigYamlScheduleStore
  • store.migrate_from_json
  • debug
  • logging.getLogger

Source

View on GitHub

praisonaiagents/scheduler/__init__.py at line 49