Set the state by reconnecting ephemeral objects. :param dict[str, any] state: the state to restore
(self, state)
| 789 | return state |
| 790 | |
| 791 | def __setstate__(self, state): |
| 792 | """ |
| 793 | Set the state by reconnecting ephemeral objects. |
| 794 | |
| 795 | :param dict[str, any] state: the state to restore |
| 796 | """ |
| 797 | self.__dict__ = state |
| 798 | self.__init__(self._config, name=self._name, buffer_size=self._buffer_size) |
| 799 | |
| 800 | |
| 801 | class CassandraListStorage(OrderedStorage, CassandraStorage): |