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

Feature request: Enable filtering of get_my_collections() #6

Open
AliceBalfanz opened this issue Jan 13, 2021 · 0 comments
Open

Feature request: Enable filtering of get_my_collections() #6

AliceBalfanz opened this issue Jan 13, 2021 · 0 comments

Comments

@AliceBalfanz
Copy link
Contributor

After having instantiated a geoDB client, I can view my collections. It would be great to be able to filter the results by different values for the columns, e.g. filter the output to only show positions where the database is public, or has a certain owner.
Currently one cannot filter at all:

from xcube_geodb.core.geodb import GeoDBClient

geodb = GeoDBClient()

ds = geodb.get_my_collections()
ds

image

For example, it would be nice to filter by passing a dict with the columns and the values to be used for filtering or something similar
ds = geodb.get_my_collections(filter={'database':'public'})

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