matze/python-phant

Filtering the get() not working

Opened this issue · 0 comments

I can't seem to get the get() to work:

data = stream.get(gte=('temp','10'))

Traceback (most recent call last):
  File ".\test1.py", line 29, in <module>
    data = stream.get(gte=('temp','10'))
  File "C:\Python27\lib\site-packages\phant-0.6.dev0-py2.7.egg\phant\__init__.py", line 257, in get
    if gte and self._check_limit_tuple(gte):
  File "C:\Python27\lib\site-packages\phant-0.6.dev0-py2.7.egg\phant\__init__.py", line 177, in _check_limit_tuple
    limit_tuple[0], self.fields))
ValueError: Field 'temp' not in the known list of fields: [u'foggy', u'temp']