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 3164f69 commit abf45cbCopy full SHA for abf45cb
temporalio/activity.py
@@ -247,7 +247,7 @@ def client() -> Client:
247
:py:class:`temporalio.client.Client` for use in the current activity.
248
249
Raises:
250
- RuntimeError: When not in an activity.
+ RuntimeError: When not in an activity or in a testing environment where client wasn't set.
251
"""
252
client = _Context.current().client
253
if not client:
0 commit comments