Skip to content
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

Implement more filtering arguments in the metadata querists #50

Open
daffidwilde opened this issue Dec 7, 2023 · 0 comments
Open

Implement more filtering arguments in the metadata querists #50

daffidwilde opened this issue Dec 7, 2023 · 0 comments

Comments

@daffidwilde
Copy link
Contributor

It would be great not to have to specify items sometimes in methods like query_feature().

Here are a few ideas, and they should all be keyword arguments:

  • Make items take Optional[Iterable[str]] rather than being an unpacked iterable. The current signature looks nice but when you use it, it isn't the best.
  • An contains kwarg that filters using metadata["id"].str.contains(id_contains)
  • An matches kwarg that filters using metadata["id"].str.match(id_matches)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant