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 7603e5d commit 6d682c3Copy full SHA for 6d682c3
azure/durable_functions/models/DurableOrchestrationContext.py
@@ -461,8 +461,9 @@ def new_guid(self) -> UUID:
461
self._new_uuid_counter += 1
462
guid = uuid5(NAMESPACE_URL, guid_name)
463
return guid
464
-
+
465
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 = {}
469
for key, val in inspect.getmembers(event):
@@ -471,4 +472,4 @@ def history_to_string(event):
471
472
val = val.replace(tzinfo=timezone.utc).timetuple()
473
json_dict[key] = val
474
return json.dumps(json_dict)
- return list(map(history_to_string, self._histories))
475
+ return list(map(history_to_string, self._histories))
0 commit comments