Skip to content

Commit

Permalink
Typo in descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Jan 30, 2015
1 parent 8337d2d commit 23ee789
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions elasticsearch_dsl/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __setattr__(self, attr_name, value):
super(BaseProxy, self).__setattr__(attr_name, value)


class ProxyDesriptor(object):
class ProxyDescriptor(object):
"""
Simple descriptor to enable setting of queries and filters as:
Expand Down Expand Up @@ -81,9 +81,9 @@ def to_dict(self):


class Search(object):
query = ProxyDesriptor('query')
filter = ProxyDesriptor('filter')
post_filter = ProxyDesriptor('post_filter')
query = ProxyDescriptor('query')
filter = ProxyDescriptor('filter')
post_filter = ProxyDescriptor('post_filter')

def __init__(self, using='default', index=None, doc_type=None, extra=None):
"""
Expand Down

0 comments on commit 23ee789

Please sign in to comment.