botoflow.context.activity_context.ActivityContext(worker, task)¶ActivityContext is accessible from within activities via
botoflow.get_context() and provides the ability to
retrieve information about the workflow as well as access to the
heartbeat() for heartbeating the execution of activity
heartbeat(details=None)¶Heartbeats current activity, raising CancellationError if cancel requested.
Ignore request by catching the exception, or let it raise to cancel.
workflow_execution¶botoflow.context.decision_context.DecisionContext(decider)¶Decision context provides information about current workflow execution
workflow_execution¶botoflow.context.start_workflow_context.StartWorkflowContext(worker)¶Context provided when running within botoflow.workflow_starter.WorkflowStarter.
This gives you an opportunity to get access to the worker and workflow_execution. Generally though it's used for storing internal states.
workflow_starter¶