Skip to content

Default value of persist_state_kvs_name in Statistics and SessionPool causes the use of a named storage on Apify #991

Closed

Description

@janbuchar

The default value of the argument is "default", but it is used like this: KeyValueStore.open(name=persist_state_kvs_name), which opens a named storage called "default" when running on Apify.

Possible solutions

  1. accept a pre-opened KeyValueStore instance instead
  2. accept a type that distinguishes names/IDs/nothing - kinda verbose in Python

Note - after #809, this change will be easier to do consistently.

Activity

  1. added
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Feb 17, 2025
  2. added a commit that references this issue on Feb 24, 2025
    6a0c4d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions