We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd00e1e commit 11e31a6Copy full SHA for 11e31a6
azure/durable_functions/models/DurableOrchestrationContext.py
@@ -462,7 +462,7 @@ def new_guid(self) -> UUID:
462
guid = uuid5(NAMESPACE_URL, guid_name)
463
return guid
464
465
- def _pretty_print_history(self) -> List[str]:
+ def _pretty_print_history(self) -> str:
466
"""Get a pretty-printed version of the orchestration's internal history."""
467
def history_to_string(event):
468
json_dict = {}
@@ -472,4 +472,4 @@ def history_to_string(event):
472
val = val.replace(tzinfo=timezone.utc).timetuple()
473
json_dict[key] = val
474
return json.dumps(json_dict)
475
- return list(map(history_to_string, self._histories))
+ return str(list(map(history_to_string, self._histories)))
0 commit comments