Skip to content

Commit e093260

Browse files
feat: Support pgvector as a custom x-sql-datatype
Signed-off-by: Edgar Ramírez-Mondragón <[email protected]>
1 parent d5fc414 commit e093260

File tree

4 files changed

+363
-77
lines changed

4 files changed

+363
-77
lines changed

pyproject.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,15 @@ lint = [
5656
"ruff>=0.1.14",
5757
]
5858
testing = [
59+
"pgvector>=0.4.1",
5960
"pytest>=9",
6061
"tap-countries",
6162
"tap-fundamentals",
6263
]
6364
typing = [
65+
{ include-group = "testing" },
6466
"mypy>=1.6.1",
65-
"types-paramiko>=3.3.0.0,<4",
67+
"types-paramiko>=4",
6668
"types-simplejson>=3.19.0.2",
6769
"types-sqlalchemy>=1.4.53.38",
6870
"types-jsonschema>=4.19.0.3",
@@ -83,6 +85,12 @@ warn_redundant_casts = true
8385
warn_unused_configs = true
8486
warn_unused_ignores = true
8587

88+
[[tool.mypy.overrides]]
89+
follow_untyped_imports = true
90+
module = [
91+
"pgvector.*",
92+
]
93+
8694
[build-system]
8795
requires = [
8896
"hatchling==1.27.0",
@@ -119,12 +127,6 @@ select = [
119127
"RUF", # ruff
120128
]
121129

122-
[tool.ruff.lint.flake8-import-conventions]
123-
banned-from = ["sqlalchemy"]
124-
125-
[tool.ruff.lint.flake8-import-conventions.extend-aliases]
126-
sqlalchemy = "sa"
127-
128130
[tool.ruff.lint.pydocstyle]
129131
convention = "google"
130132

0 commit comments

Comments
 (0)