We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I retrive a Search object for which I want to edit the kibanaSavedObjectMeta the save does nothing:
Search
kibanaSavedObjectMeta
Search._d_
search
to_dict
Search.search
search_source
# change index pattern search_source = src_search.search.get("kibanaSavedObjectMeta", {}).get( "searchSourceJSON", "" ) source = json.loads(search_source) if "index" in source: source["index"] = "another_index" src_search.search["kibanaSavedObjectMeta"][ "searchSourceJSON" ] = json.dumps(source) src_search.save(index=slave_kibana_index)
The problem is probably related to the keyword search that is also used as a static method (Document.search)
Document.search
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I retrive a
Search
object for which I want to edit thekibanaSavedObjectMeta
the save does nothing:Search._d_
do not contains thesearch
AttrDict and thus the saving that callsto_dict
does not save anythingSearch.search
return a dict instead of AttrDict but it is not stored in the objectsearch_source
(a Search object) but does not save anythingThe problem is probably related to the keyword
search
that is also used as a static method (Document.search
)The text was updated successfully, but these errors were encountered: