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
I'm trying to use the peewee method .get_or_create() in place of .create() but I'm getting the following error:
{...}
File "/myprj/venv/lib/python3.11/site-packages/pgvector/peewee/__init__.py", line 16, in db_value
return to_db(value)
^^^^^^^^^^^^
File "/myprj/venv/lib/python3.11/site-packages/pgvector/utils/__init__.py", line 37, in to_db
return '[' + ','.join([str(float(v)) for v in value]) + ']'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'float' object is not iterable
Can you help to find out whether is this a bug or something I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
I'm trying to use the peewee method .get_or_create() in place of .create() but I'm getting the following error:
Can you help to find out whether is this a bug or something I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: