prefect.server.events.services.triggers
Classes
ReactiveTriggers
Evaluates reactive automation triggers
Methods:
all_services
enabled
enabled_services
environment_variable_name
run_services
running
service_settings
service_settings
start
start
stop
stop
ProactiveTriggers
Evaluates proactive automation triggers
Methods:
run_once
run_once
LoopService().start(loops=1)
instead of LoopService().run_once()
, because this method will not invoke setup
and teardown methods properly.
service_settings
start
stop
block
: if True, blocks until the service is finished running. Otherwise it requests a stop and returns but the service may still be running a final loop.