Skip to content

Extract state persistence into a mixin-style base class #809

@janbuchar

Description

@janbuchar

As of now, only the Statistics class saves state on persistState 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 persistence

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions