AgentSessionContext Class
Note
This is an experimental class, and may change at any time.
Session context supplied after a process is restored from a snapshot.
Constructor
AgentSessionContext(session_id: str, restore_id: str, session_env_overrides: Mapping[str, str] | None = None)
Parameters
| Name | Description |
|---|---|
|
session_id
Required
|
Opaque identifier for the session served by the process. |
|
restore_id
Required
|
Opaque identifier for this process materialization. |
|
session_env_overrides
|
Sparse environment values that differ from the captured process. Default value: None
|
Attributes
restore_id
restore_id: str
session_env_overrides
session_env_overrides: Mapping[str, str]
session_id
session_id: str