Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

allow partial search with chef.Search #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

allow partial search with chef.Search #76

wants to merge 2 commits into from

Conversation

ryanohnemus
Copy link

I added an optional filter_result parameter to get a minimal/filtered set of attributes when searching

Note: this doesn't give back a full ChefObject since the partial search only returns the parts of the object you request, so the data is returned in the row['data'] attribute

Chef Doc: https://docs.chef.io/api_chef_server.html#id76

closes #17

ryanohnemus added 2 commits September 4, 2017 18:20
From: https://docs.chef.io/api_chef_server.html#id76

added an optional filter_results parameter to get a
minimal/filtered set of attributes when searching

Note: this doesn't give back a full ChefObject since
the partial search only returns the parts of the object
you request, so the data is returned in the row['data']
attribute

closes #17
@nabnux
Copy link

nabnux commented Oct 19, 2017

👍 would love having this merged in pychef

toufoner pushed a commit to criteo-forks/pychef that referenced this pull request Oct 24, 2017
toufoner added a commit to criteo-forks/pychef that referenced this pull request Oct 24, 2017
Include PR coderanger#76, allow partial search
piger added a commit to piger/pychef that referenced this pull request Mar 2, 2018
This is the same as coderanger#76 which
has not been merged since Sep 5, 2017 :(
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Partial Search?
2 participants