.. Adapted from https://stackoverflow.com/a/62613202 flexmeasures.data.services.automations ====================================== .. automodule:: flexmeasures.data.services.automations .. rubric:: Functions .. autofunction:: claim_due_automation_run .. autofunction:: claim_existing_automation_run .. autofunction:: describe_cronstr .. autofunction:: dispatch_automation_run .. autofunction:: ensure_automation_run_job_intents .. autofunction:: floor_to_minute .. autofunction:: get_automation_job_stats .. autofunction:: get_automation_run_stats .. autofunction:: get_automation_sensors .. autofunction:: get_automations_feeding_sensor .. autofunction:: get_automations_involving_sensor .. autofunction:: get_dispatchable_automation_runs .. autofunction:: get_due_automations .. autofunction:: get_forecast_output_sensor .. autofunction:: get_latest_scheduled_run .. autofunction:: mark_automation_job_queued .. autofunction:: mark_automation_run_dispatch_failed .. autofunction:: mark_automation_run_dispatch_queued .. autofunction:: reconcile_automation_job_intent .. autofunction:: record_automation_job_failed .. autofunction:: record_automation_job_started .. autofunction:: record_automation_job_succeeded .. autofunction:: resolve_automation_sensors .. autofunction:: run_automation .. autofunction:: serialize_automation_run .. autofunction:: validate_forecast_output_scope .. rubric:: Classes .. autoclass:: ClaimedAutomationRun :members: :special-members: __init__ :private-members: .. autoclass:: DueAutomation :members: :special-members: __init__ :private-members: .. rubric:: Exceptions .. autoexception:: AutomationRunClaimError .. autoexception:: AutomationSensorsUnknown