44
55# python 2 and python 3 compatibility library
66import six
7+ import socket
78
89from conductor .client .http .api_client import ApiClient
910
@@ -1481,6 +1482,7 @@ def update_task1(self, body, workflow_id, task_ref_name, status, **kwargs): # n
14811482 :param str workflow_id: (required)
14821483 :param str task_ref_name: (required)
14831484 :param str status: (required)
1485+ :param str workerid:
14841486 :return: str
14851487 If the method is called asynchronously,
14861488 returns the request thread.
@@ -1505,6 +1507,7 @@ def update_task1_with_http_info(self, body, workflow_id, task_ref_name, status,
15051507 :param str workflow_id: (required)
15061508 :param str task_ref_name: (required)
15071509 :param str status: (required)
1510+ :param str workerid:
15081511 :return: str
15091512 If the method is called asynchronously,
15101513 returns the request thread.
@@ -1553,6 +1556,10 @@ def update_task1_with_http_info(self, body, workflow_id, task_ref_name, status,
15531556 path_params ['status' ] = params ['status' ] # noqa: E501
15541557
15551558 query_params = []
1559+
1560+ if 'workerid' not in params :
1561+ params ['workerid' ] = socket .gethostname ()
1562+ query_params .append (('workerid' , params ['workerid' ])) # noqa: E501
15561563
15571564 header_params = {}
15581565
0 commit comments