Skip to content

Commit

Permalink
Remove .to_dict() from A() example in docs
Browse files Browse the repository at this point in the history
It is not used elsewhere when json is shown as example of what's going on
  • Loading branch information
honzakral committed Jun 1, 2015
1 parent ab578ce commit 09c63c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/search_dsl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ acts as a top-level aggregation:
s = Search()
a = A('terms', field='category')
s.aggs.bucket('category_terms', a)
s.to_dict()
# {
# 'aggs': {
# 'category_terms': {
Expand Down

0 comments on commit 09c63c6

Please sign in to comment.