I am fairly new to tinydb and tinydb-smartcache, so please forgive me if my question has an obvious answer. I am having issues inserting an item into a tinydb, with tinydb-smartcache when the table does not yet have any queries. I get the following error
python\tiny_smartcache.py", line 29, in insert
if query(element):
TypeError: 'NoneType' object is not callable
and it appears to me that the _query_cache has only one element a "None".