mirror of https://github.com/dapr/quickstarts.git
Update tutorials/workflow/python/monitor-pattern/monitor/monitor_workflow.py
Co-authored-by: Dzvezdana Arsovska <arsovska93@gmail.com> Signed-off-by: Marc Duiker <marcduiker@users.noreply.github.com>
This commit is contained in:
parent
2f105b2c6b
commit
bacd3b6fcf
|
@ -7,7 +7,7 @@ wf_runtime = wf.WorkflowRuntime()
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Status:
|
class Status:
|
||||||
isReady: bool
|
is_ready: bool
|
||||||
|
|
||||||
@wf_runtime.workflow(name='monitor_workflow')
|
@wf_runtime.workflow(name='monitor_workflow')
|
||||||
def monitor_workflow(ctx: wf.DaprWorkflowContext, counter: int):
|
def monitor_workflow(ctx: wf.DaprWorkflowContext, counter: int):
|
||||||
|
|
Loading…
Reference in New Issue