Serialize the BaseState for redis/disk storage. Args: state: The BaseState to serialize. Returns: The serialized state.
(cls, state: BaseState)
| 161 | |
| 162 | @classmethod |
| 163 | def serialize(cls, state: BaseState) -> bytes: |
| 164 | """Serialize the BaseState for redis/disk storage. |
| 165 | |
| 166 | Args: |
| 167 | state: The BaseState to serialize. |
| 168 | |
| 169 | Returns: |
| 170 | The serialized state. |
| 171 | """ |
| 172 | return state._serialize() |
| 173 | |
| 174 | @classmethod |
| 175 | def deserialize( |
nothing calls this directly
no test coverage detected