Skip to content

Commit 11e31a6

Browse files
committed
return str
1 parent dd00e1e commit 11e31a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure/durable_functions/models/DurableOrchestrationContext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def new_guid(self) -> UUID:
462462
guid = uuid5(NAMESPACE_URL, guid_name)
463463
return guid
464464

465-
def _pretty_print_history(self) -> List[str]:
465+
def _pretty_print_history(self) -> str:
466466
"""Get a pretty-printed version of the orchestration's internal history."""
467467
def history_to_string(event):
468468
json_dict = {}
@@ -472,4 +472,4 @@ def history_to_string(event):
472472
val = val.replace(tzinfo=timezone.utc).timetuple()
473473
json_dict[key] = val
474474
return json.dumps(json_dict)
475-
return list(map(history_to_string, self._histories))
475+
return str(list(map(history_to_string, self._histories)))

0 commit comments

Comments
 (0)