-
Notifications
You must be signed in to change notification settings - Fork 50
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
Support fetching only a subset of the metadata in the Python client #42
Comments
danielballan
changed the title
Support fetching only a subset of the metadata
Support fetching only a subset of the metadata in the Python client
Jan 6, 2022
This is supported in the HTTP API ( |
Per discussion with @pbeaucage, maybe the best way to do this it to add a method like this: for k, v in c.select_metadata(json_path).items():
# k is the key, v is the metadata dict _only_ |
Another idea: for k, v in c.raw_items().page_size(10).select_metadata(…):
# k is the string key
# v is the parsed JSON from the server, as a plain dict Likewise for Compared the suggestions in my previous comments I like that
This issue may be of interest to @cjtitus. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proposed API after several design discussions with @tacaswell:
Tasks
The text was updated successfully, but these errors were encountered: