We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4498f2 commit 90fd6daCopy full SHA for 90fd6da
1 file changed
pgvector/django/extensions.py
@@ -3,9 +3,8 @@
3
4
5
class VectorExtension(CreateExtension):
6
- if VERSION[0] >= 6:
7
- def __init__(self, hints=None):
+ def __init__(self, hints=None):
+ if VERSION[0] >= 6:
8
super().__init__('vector', hints=hints)
9
- else:
10
- def __init__(self):
+ else:
11
self.name = 'vector'
0 commit comments