Skip to content

Commit b226d90

Browse files
committed
Add to README
1 parent 08e0223 commit b226d90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,7 @@ calls in the `temporalio.activity` package make use of it. Specifically:
12571257

12581258
* `in_activity()` - Whether an activity context is present
12591259
* `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.
12601261
* `heartbeat(*details)` - Record a heartbeat
12611262
* `is_cancelled()` - Whether a cancellation has been requested on this activity
12621263
* `wait_for_cancelled()` - `async` call to wait for cancellation request

0 commit comments

Comments
 (0)