Skip to content

Commit 4ebc666

Browse files
committed
Fixed pgvector extension not working
1 parent 3de07dd commit 4ebc666

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGES.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Version history
22
===============
33

4+
**UNRELEASED**
5+
6+
- Fixed pgvector support not working
7+
48
**3.0.0rc4**
59

610
- Dropped support for Python 3.7

src/sqlacodegen/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
geoalchemy2 = None
2020

2121
try:
22-
import pgvector
22+
import pgvector.sqlalchemy
2323
except ImportError:
2424
pgvector = None
2525

0 commit comments

Comments
 (0)