You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
09:54:55 File "/home/jenkins/workspace/bics_sirius_master/env/lib64/python3.6/site-packages/pysirius/main.py", line 374, in get
09:54:55 value = next(iter, None)
09:54:55 File "/home/jenkins/workspace/bics_sirius_master/env/lib64/python3.6/site-packages/pysirius/clients.py", line 265, in get_by_query_iter
09:54:55 documents = self._mock_db.search(cast(queries.QueryLike, record_filter))
09:54:55 File "/home/jenkins/workspace/bics_sirius_master/env/lib64/python3.6/site-packages/tinydb/table.py", line 235, in search
09:54:55 if cond.is_cacheable():
09:54:55 AttributeError: 'function' object has no attribute 'is_cacheable'
The code that calls this is as follows:
defrecord_filter(record: Json) ->bool:
ifrecord[main.TYPE_KEY] !=service_type.fq_type():
returnFalseforkey, valueinquery.items():
ifnothelpers.match_key(record, key, value):
returnFalsereturnTrue# QueryLike is either a Callable (class) or Dict.documents=self._mock_db.search(cast(queries.QueryLike, record_filter))
The text was updated successfully, but these errors were encountered:
In previously working code, we get
The code that calls this is as follows:
The text was updated successfully, but these errors were encountered: