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 09c783e commit 51c23daCopy full SHA for 51c23da
temporalio/activity.py
@@ -125,6 +125,12 @@ class Info:
125
workflow_type: str
126
priority: temporalio.common.Priority
127
retry_policy: Optional[temporalio.common.RetryPolicy]
128
+ """The retry policy of this activity.
129
+
130
+ Note that the server may have set a different policy than the one provided when scheduling the activity.
131
+ If the value is None, it means the server didn't send information about retry policy (e.g. due to old server
132
+ version), but it may still be defined server-side."""
133
134
# TODO(cretz): Consider putting identity on here for "worker_id" for logger?
135
136
def _logger_details(self) -> Mapping[str, Any]:
0 commit comments