unique.put has no keyword parameter but unique.put_nowait is calling it with keyword parameter block method put_nowait is interited from SQLiteQueue superclass Traceback (most recent call last): File "\.venv\lib\site-packages\persistqueue\sqlqueue.py", line 50, in put_nowait return self.put(item, block=False) TypeError: UniqueQ.put() got an unexpected keyword argument 'block'