Skip to content

Commit 6d682c3

Browse files
committed
lint
1 parent 7603e5d commit 6d682c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure/durable_functions/models/DurableOrchestrationContext.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,9 @@ def new_guid(self) -> UUID:
461461
self._new_uuid_counter += 1
462462
guid = uuid5(NAMESPACE_URL, guid_name)
463463
return guid
464-
464+
465465
def _pretty_print_history(self) -> str:
466+
"""Get a pretty-printed version of the orchestration's internal history."""
466467
def history_to_string(event):
467468
json_dict = {}
468469
for key, val in inspect.getmembers(event):
@@ -471,4 +472,4 @@ def history_to_string(event):
471472
val = val.replace(tzinfo=timezone.utc).timetuple()
472473
json_dict[key] = val
473474
return json.dumps(json_dict)
474-
return list(map(history_to_string, self._histories))
475+
return list(map(history_to_string, self._histories))

0 commit comments

Comments
 (0)