Skip to content

More Examples

May 11, 2025


Github: dotflow/examples

Example Command
cli_with_callback dotflow start --step examples.cli_with_callback.simple_step --callback examples.cli_with_callback.callback
cli_with_initial_context dotflow start --step examples.cli_with_initial_context.simple_step --initial-context abc
cli_with_mode dotflow start --step examples.cli_with_mode.simple_step --mode sequential
cli_with_output_context dotflow start --step examples.cli_with_output_context.simple_step --storage file
cli_with_path dotflow start --step examples.cli_with_path.simple_step --path .storage --storage file
flow python examples/flow.py
simple_class_workflow python examples/simple_class_workflow.py
simple_cli dotflow start --step examples.simple_cli.simple_step
simple_function_workflow python examples/simple_function_workflow.py
simple_function_workflow_with_error python examples/simple_function_workflow_with_error.py
step_class_result_context python examples/step_class_result_context.py
step_class_result_storage python examples/step_class_result_storage.py
step_class_result_task python examples/step_class_result_task.py
step_function_result_context python examples/step_function_result_context.py
step_function_result_storage python examples/step_function_result_storage.py
step_function_result_task python examples/step_function_result_task.py
step_with_groups python examples/step_with_groups.py
step_with_initial_context python examples/step_with_initial_context.py
step_with_many_contexts python examples/step_with_many_contexts.py
step_with_notify_telegram python examples/step_with_notify_telegram.py
step_with_previous_context python examples/step_with_previous_context.py
step_with_storage_file python examples/step_with_storage_file.py
step_with_storage_mongodb python examples/step_with_storage_mongodb.py
workflow_background_mode python examples/workflow_background_mode.py
workflow_keep_going_true python examples/workflow_keep_going_true.py
workflow_parallel_mode python examples/workflow_parallel_mode.py
workflow_sequential_group_mode python examples/workflow_sequential_group_mode.py
workflow_sequential_mode python examples/workflow_sequential_mode.py
workflow_step_callback python examples/workflow_step_callback.py
workflow_with_backoff python examples/workflow_with_backoff.py
workflow_with_callback_failure python examples/workflow_with_callback_failure.py
workflow_with_callback_success python examples/workflow_with_callback_success.py
workflow_with_retry python examples/workflow_with_retry.py
workflow_with_retry_delay python examples/workflow_with_retry_delay.py
workflow_with_timeout python examples/workflow_with_timeout.py