1- from typing import Optional , List
1+ from typing import Optional , List , Dict
22
33from conductor .client .configuration .configuration import Configuration
44from conductor .client .http .models import SkipTaskRequest , WorkflowStatus , \
@@ -24,7 +24,7 @@ def __init__(
2424 def start_workflow_by_name (
2525 self ,
2626 name : str ,
27- input : dict [str , object ],
27+ input : Dict [str , object ],
2828 version : Optional [int ] = None ,
2929 correlationId : Optional [str ] = None ,
3030 priority : Optional [int ] = None ,
@@ -130,7 +130,7 @@ def get_by_correlation_ids_in_batch(
130130 self ,
131131 batch_request : CorrelationIdsSearchRequest ,
132132 include_completed : bool = False ,
133- include_tasks : bool = False ) -> dict [str , List [Workflow ]]:
133+ include_tasks : bool = False ) -> Dict [str , List [Workflow ]]:
134134
135135 """Given the list of correlation ids and list of workflow names, find and return workflows
136136 Returns a map with key as correlationId and value as a list of Workflows
@@ -150,7 +150,7 @@ def get_by_correlation_ids(
150150 correlation_ids : List [str ],
151151 include_completed : bool = False ,
152152 include_tasks : bool = False
153- ) -> dict [str , List [Workflow ]]:
153+ ) -> Dict [str , List [Workflow ]]:
154154 """Lists workflows for the given correlation id list"""
155155 kwargs = {}
156156 if include_tasks :
@@ -167,7 +167,7 @@ def get_by_correlation_ids(
167167 def remove_workflow (self , workflow_id : str ):
168168 self .workflowResourceApi .delete (workflow_id )
169169
170- def update_variables (self , workflow_id : str , variables : dict [str , object ] = {}) -> None :
170+ def update_variables (self , workflow_id : str , variables : Dict [str , object ] = {}) -> None :
171171 self .workflowResourceApi .update_workflow_state (variables , workflow_id )
172172
173173 def update_state (self , workflow_id : str , update_requesst : WorkflowStateUpdate ,
0 commit comments