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 08e0223 commit b226d90Copy full SHA for b226d90
README.md
@@ -1257,6 +1257,7 @@ calls in the `temporalio.activity` package make use of it. Specifically:
1257
1258
* `in_activity()` - Whether an activity context is present
1259
* `info()` - Returns the immutable info of the currently running activity
1260
+* `client()` - Returns the Temporal client used by this worker. Only available in `async def` activities.
1261
* `heartbeat(*details)` - Record a heartbeat
1262
* `is_cancelled()` - Whether a cancellation has been requested on this activity
1263
* `wait_for_cancelled()` - `async` call to wait for cancellation request
0 commit comments