Skip to content

Commit 90fd6da

Browse files
committed
Fixed error with mypy [skip ci]
1 parent f4498f2 commit 90fd6da

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pgvector/django/extensions.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44

55
class VectorExtension(CreateExtension):
6-
if VERSION[0] >= 6:
7-
def __init__(self, hints=None):
6+
def __init__(self, hints=None):
7+
if VERSION[0] >= 6:
88
super().__init__('vector', hints=hints)
9-
else:
10-
def __init__(self):
9+
else:
1110
self.name = 'vector'

0 commit comments

Comments
 (0)