Skip to content

Commit 2e293b7

Browse files
🪲 BUG-#201: Fix checkpoint example to use valid UUID instead of string
1 parent 4097c81 commit 2e293b7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docs_src/checkpoint/checkpoint.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from uuid import UUID
2+
13
from dotflow import Config, DotFlow, action
24
from dotflow.providers import StorageFile
35

@@ -21,7 +23,7 @@ def step_three(previous_context):
2123

2224

2325
def main():
24-
workflow = DotFlow(config=config, workflow_id="my-etl-pipeline")
26+
workflow = DotFlow(config=config, workflow_id=UUID("12345678-1234-5678-1234-567812345678"))
2527

2628
workflow.task.add(step=step_one)
2729
workflow.task.add(step=step_two)

0 commit comments

Comments
 (0)