diff --git a/couchbase/fulltext.py b/couchbase/fulltext.py index ea85795be..794ababe6 100644 --- a/couchbase/fulltext.py +++ b/couchbase/fulltext.py @@ -668,7 +668,7 @@ class PrefixQuery(_SingleQuery): most useful for type-ahead or lookup queries. """ _TERMPROP = 'prefix' - prefix = _genprop(str, 'prefix', doc='The prefix to match') + prefix = _genprop_str('prefix', doc='The prefix to match') @_with_fields('field') @@ -694,7 +694,7 @@ def __init__(self, distance, location, **kwargs): super(GeoDistanceQuery, self).__init__() kwargs['distance'] = distance kwargs['location'] = location - _assign_kwargs(self, **kwargs) + _assign_kwargs(self, kwargs) location = _genprop(_location_conv, 'location', doc='Location') distance = _genprop_str('distance') @@ -706,7 +706,7 @@ def __init__(self, top_left, bottom_right, **kwargs): super(GeoBoundingBoxQuery, self).__init__() kwargs['top_left'] = top_left kwargs['bottom_right'] = bottom_right - _assign_kwargs(self, **kwargs) + _assign_kwargs(self, kwargs) top_left = _genprop( _location_conv, 'top_left',