Extract state persistence into a mixin-style base class #809
Labels
enhancement
New feature or request.
t-tooling
Issues with this label are in the ownership of the tooling team.
As of now, only the
Statistics
class saves state onpersistState
events. We should make it possible to implement this behavior in other classes by simply extending some mixin and passing it a pydantic model that would validate the serialized state from the key-value store.EDIT:
SessionPool
also supports persistenceThe text was updated successfully, but these errors were encountered: