Skip to content

feat: add list kv store keys by collection or prefix #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2025

Conversation

MFori
Copy link
Member

@MFori MFori commented May 2, 2025

@MFori MFori added the t-console Issues with this label are in the ownership of the console team. label May 2, 2025
@MFori MFori self-assigned this May 2, 2025
@github-actions github-actions bot added this to the 113th sprint - Console team milestone May 2, 2025
@MFori MFori requested review from Copilot and vdusek May 16, 2025 09:18
@MFori MFori marked this pull request as ready for review May 16, 2025 09:18
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for listing key-value store keys by collection or prefix. The updates include modifications to both the synchronous and asynchronous versions of the list_keys function to accept additional query parameters, "collection" and "prefix".

  • Added "collection" and "prefix" parameters in the list_keys methods
  • Updated the docstrings to reflect the new parameters
Comments suppressed due to low confidence (2)

src/apify_client/clients/resource_clients/key_value_store.py:71

  • Consider adding tests to validate the behavior of the new 'collection' parameter, ensuring it is correctly processed by the API.
collection: str | None = None,

src/apify_client/clients/resource_clients/key_value_store.py:72

  • Consider adding tests to validate the behavior of the new 'prefix' parameter, ensuring it is correctly processed by the API.
prefix: str | None = None,

@vdusek vdusek changed the title feat: list kv store keys by collection or prefix feat: add list kv store keys by collection or prefix May 16, 2025
Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MFori MFori merged commit 6747c20 into master May 16, 2025
29 checks passed
@MFori MFori deleted the feat/load-keys-by-collection branch May 16, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-console Issues with this label are in the ownership of the console team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants