class documentation
class TemporalAsyncAgents: (source)
Constructor: TemporalAsyncAgents(activity_config)
Agents resource shim that routes calls through activities.
Methods accept the same keyword arguments as the real resource and forward them verbatim — the SDK validates them on the worker side, so a bad argument surfaces as an activity failure (retried per the activity's retry policy) rather than a workflow-side error.
with_raw_response / with_streaming_response are not supported in workflows.
| Method | __init__ |
Initialize with activity config for agent operation timeouts. |
| Async Method | create |
Create a managed agent definition via a Temporal activity. |
| Async Method | delete |
Delete a managed agent definition via a Temporal activity. |
| Async Method | get |
Get a managed agent definition via a Temporal activity. |
| Async Method | list |
List managed agent definitions via a Temporal activity. |
| Property | with |
Raise — raw responses are not available in workflows. |
| Property | with |
Raise — streaming responses are not available in workflows. |
| Method | _config |
Undocumented |
| Instance Variable | _activity |
Undocumented |