class documentation
class TemporalBackend: (source)
Constructor: TemporalBackend(inner, activity_options)
Route a real-I/O backend's operations through Temporal activities.
Wrap a FilesystemBackend / LocalShellBackend / StoreBackend / CompositeBackend so each file or shell operation becomes a durable deepagents.backend_op activity instead of touching disk / shell from the workflow. State-only backends (StateBackend) need no wrapping — they are pure workflow state and run in-workflow.
Unknown attribute access is forwarded to the inner backend so backend metadata / configuration the agent reads (but that does no I/O) still works.
| Method | __getattr__ |
Bound-method access for a known I/O op returns an activity dispatcher. |
| Method | __init__ |
Wrap inner so its I/O ops dispatch as durable activities. |
| Async Method | _dispatch |
Undocumented |
| Instance Variable | _finalizer |
Undocumented |
| Instance Variable | _inner |
Undocumented |
| Instance Variable | _opts |
Undocumented |
| Instance Variable | _ref |
Undocumented |