Skip to content

Commit d1178c3

Browse files
AnatoliBCopilot
andauthored
Update azure/durable_functions/models/DurableOrchestrationContext.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent abef2bc commit d1178c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

azure/durable_functions/models/DurableOrchestrationContext.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -763,13 +763,13 @@ def _get_function_name(self, name: FunctionBuilder,
763763
raise e
764764

765765
@property
766-
def version(self) -> str:
766+
def version(self) -> Optional[str]:
767767
"""Get the version assigned to the orchestration instance on creation.
768768
769769
Returns
770770
-------
771-
str
772-
The version assigned to the orchestration instance on creation.
771+
Optional[str]
772+
The version assigned to the orchestration instance on creation, or None if not found.
773773
"""
774774
return self._version
775775

0 commit comments

Comments
 (0)