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

Allow multiple values for a single key in ls(include) #6

Open
BigRoy opened this issue Aug 30, 2015 · 0 comments
Open

Allow multiple values for a single key in ls(include) #6

BigRoy opened this issue Aug 30, 2015 · 0 comments

Comments

@BigRoy
Copy link
Owner

BigRoy commented Aug 30, 2015

Goal

If you'd want to filter to a subset of multiple values for a single key you'd currently have to perform multiple queries. Or a single larger query filtering the results afterwards.

Preferrably we would allow multiple values to be passed in and to be used during the globbing.

Example

For example allowing a tuple to be passed in as value. Here I'm filtering the family key to only allow model or rig in the subset.

ls("{family}/{data}", include={"family": ("model", "rig")})

This would similarly be of interest (or even more be of interest?) to exclude as proposed in #5.

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

No branches or pull requests

1 participant