-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
I turn off auto_commit and trying get element by id.
I getting this traceback: sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current statement uses 0, and there are 1 supplied.
Minimally reproducible example:
from persistqueue import SQLiteQueue
q = SQLiteQueue(path="queue", auto_commit=False)
queue_id = q.put("elemenent")
q.task_done()
print (queue_id)
queue_data = q.get(id=queue_id, raw=True)
q.task_done()
print(queue_data)
Metadata
Metadata
Assignees
Labels
No labels