The TinyDB forum has found a new home at GitHub discussions. The content here remains as a read-only archive.
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
TypeError: 'NoneType' object is not callable
and it appears to me that the _query_cache has only one element a "None".
Hey dcflachs ,
thanks for reporting this issue! Turns out this was a problem with TinyDB itself. I've fixed the issue now in TinyDB v3.14.2 which I released just now ? If you update TinyDB everything should work just fine!