Skip to content

Commit e1edc12

Browse files
authored
serializing instanceId in camelCase (#307)
1 parent 1104a20 commit e1edc12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure/durable_functions/models/actions/CallSubOrchestratorAction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ def to_json(self) -> Dict[str, Union[str, int]]:
3636
add_attrib(json_dict, self, 'action_type', 'actionType')
3737
add_attrib(json_dict, self, 'function_name', 'functionName')
3838
add_attrib(json_dict, self, '_input', 'input')
39-
add_attrib(json_dict, self, 'instance_id', 'instance_id')
39+
add_attrib(json_dict, self, 'instance_id', 'instanceId')
4040
return json_dict

azure/durable_functions/models/actions/CallSubOrchestratorWithRetryAction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ def to_json(self) -> Dict[str, Union[str, int]]:
4040
add_attrib(json_dict, self, 'function_name', 'functionName')
4141
add_attrib(json_dict, self, '_input', 'input')
4242
add_json_attrib(json_dict, self, 'retry_options', 'retryOptions')
43-
add_attrib(json_dict, self, 'instance_id', 'instance_id')
43+
add_attrib(json_dict, self, 'instance_id', 'instanceId')
4444
return json_dict

0 commit comments

Comments
 (0)