Skip to content

Implement more filtering arguments in the metadata querists #50

@daffidwilde

Description

@daffidwilde

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions