Skip to content

Commit 37b148f

Browse files
committed
Removed default value [skip ci]
1 parent 3de7832 commit 37b148f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pgvector/psycopg2/register.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
from .vector import register_vector_info
66

77

8-
# TODO remove default value for conn_or_curs in 0.4.0
98
# TODO make globally False by default in 0.4.0
109
# note: register_adapter is always global
1110
# TODO make arrays True by defalt in 0.4.0
12-
def register_vector(conn_or_curs=None, globally=True, arrays=False):
11+
def register_vector(conn_or_curs, globally=True, arrays=False):
1312
conn = conn_or_curs if hasattr(conn_or_curs, 'cursor') else conn_or_curs.connection
1413
cur = conn.cursor(cursor_factory=cursor)
1514
scope = None if globally else conn_or_curs

0 commit comments

Comments
 (0)