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

allow partial search with chef.Search - #76

Open
ryanohnemus wants to merge 2 commits into
coderanger:masterfrom
ryanohnemus:feature/partial_search
Open

allow partial search with chef.Search#76
ryanohnemus wants to merge 2 commits into
coderanger:masterfrom
ryanohnemus:feature/partial_search

Conversation

@ryanohnemus

Copy link
Copy Markdown

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
Copy Markdown

👍 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
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 freeto 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

@ryanohnemus@nabnux