Extract state persistence into a mixin-style base class · Issue #809 · apify/crawlee-python · GitHub
Skip to content

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

Closed

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

Activity

  1. added
    enhancementNew feature or request.
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Dec 11, 2024
  2. self-assigned this
    on Apr 10, 2025
  3. added a commit that references this issue on Apr 30, 2025
    de11d07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions