Skip to content

ManagedEntry should be exported from a public path #335

Description

@pocmo

We use py-key-value-aio through FastMCP and implemented our own storage backend by subclassing BaseStore. When we updated the library to 0.4.x we noticed that ManagedEntry had moved and we had to update our import. In doing so we realised there is no public path for it.

ManagedEntry appears directly in the signatures of the abstract methods that BaseStore requires external implementors to override. Any custom store implementation must import it. We are currently importing it from key_value.aio._utils, which is a private module.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions