Skip to content

Commit

Permalink
Fixed pgvector extension not working
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Feb 22, 2024
1 parent 3de07dd commit 4ebc666
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Version history
===============

**UNRELEASED**

- Fixed pgvector support not working

**3.0.0rc4**

- Dropped support for Python 3.7
Expand Down
2 changes: 1 addition & 1 deletion src/sqlacodegen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
geoalchemy2 = None

try:
import pgvector
import pgvector.sqlalchemy
except ImportError:
pgvector = None

Expand Down

0 comments on commit 4ebc666

Please sign in to comment.