fastapi-sqla 3.5.0__tar.gz → 3.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/PKG-INFO +3 -3
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/_pytest_plugin.py +2 -2
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/pyproject.toml +13 -12
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/LICENSE +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/README.md +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/__init__.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/async_pagination.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/async_sqla.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/aws_aurora_support.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/aws_rds_iam_support.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/base.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/models.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/pagination.py +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/py.typed +0 -0
- {fastapi_sqla-3.5.0 → fastapi_sqla-3.5.2}/fastapi_sqla/sqla.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fastapi-sqla
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.2
|
|
4
4
|
Summary: SQLAlchemy extension for FastAPI with support for pagination, asyncio, SQLModel, and pytest, ready for production.
|
|
5
5
|
Home-page: https://github.com/dialoguemd/fastapi-sqla
|
|
6
6
|
License: MIT
|
|
@@ -43,11 +43,11 @@ Requires-Dist: alembic (>=1.4.3,<2) ; extra == "pytest-plugin"
|
|
|
43
43
|
Requires-Dist: asyncpg (>=0.28.0,<0.31.0) ; extra == "asyncpg"
|
|
44
44
|
Requires-Dist: boto3 (>=1.24.74,<2) ; extra == "aws-rds-iam"
|
|
45
45
|
Requires-Dist: deprecated (>=1.2,<2)
|
|
46
|
-
Requires-Dist: fastapi (>=0.95.1,<0.
|
|
46
|
+
Requires-Dist: fastapi (>=0.95.1,<0.117)
|
|
47
47
|
Requires-Dist: psycopg2 (>=2.8.6,<3) ; extra == "psycopg2"
|
|
48
48
|
Requires-Dist: pydantic (>=1,<3)
|
|
49
49
|
Requires-Dist: sqlalchemy (>=1.3,<3)
|
|
50
|
-
Requires-Dist: sqlmodel (>=0.0.14,<0.0.
|
|
50
|
+
Requires-Dist: sqlmodel (>=0.0.14,<0.0.26) ; extra == "sqlmodel"
|
|
51
51
|
Requires-Dist: structlog (>=20,<26)
|
|
52
52
|
Project-URL: Repository, https://github.com/dialoguemd/fastapi-sqla
|
|
53
53
|
Description-Content-Type: text/markdown
|
|
@@ -102,7 +102,7 @@ def sqla_modules():
|
|
|
102
102
|
|
|
103
103
|
@fixture
|
|
104
104
|
def sqla_reflection(sqla_modules, sqla_connection: Connection):
|
|
105
|
-
import fastapi_sqla
|
|
105
|
+
import fastapi_sqla # noqa: PLC0415
|
|
106
106
|
|
|
107
107
|
fastapi_sqla.Base.metadata.bind = sqla_connection # type: ignore
|
|
108
108
|
fastapi_sqla.Base.prepare(sqla_connection.engine)
|
|
@@ -188,7 +188,7 @@ if asyncio_support:
|
|
|
188
188
|
async def async_sqla_reflection(
|
|
189
189
|
sqla_modules, async_sqla_connection: AsyncConnection
|
|
190
190
|
):
|
|
191
|
-
from fastapi_sqla import Base
|
|
191
|
+
from fastapi_sqla import Base # noqa: PLC0415
|
|
192
192
|
|
|
193
193
|
await async_sqla_connection.run_sync(lambda conn: Base.prepare(conn.engine))
|
|
194
194
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "fastapi-sqla"
|
|
3
|
-
version = "3.5.
|
|
3
|
+
version = "3.5.2"
|
|
4
4
|
description = "SQLAlchemy extension for FastAPI with support for pagination, asyncio, SQLModel, and pytest, ready for production."
|
|
5
5
|
authors = [
|
|
6
6
|
"Hadrien David <hadrien.david@dialogue.co>",
|
|
@@ -39,7 +39,7 @@ classifiers = [
|
|
|
39
39
|
|
|
40
40
|
[tool.poetry.dependencies]
|
|
41
41
|
python = ">=3.9,<3.14"
|
|
42
|
-
fastapi = ">=0.95.1,<0.
|
|
42
|
+
fastapi = ">=0.95.1,<0.117"
|
|
43
43
|
pydantic = ">=1,<3"
|
|
44
44
|
sqlalchemy = ">=1.3,<3"
|
|
45
45
|
structlog = ">=20,<26"
|
|
@@ -49,21 +49,21 @@ alembic = { version = ">=1.4.3,<2", optional = true }
|
|
|
49
49
|
asyncpg = { version = ">=0.28.0,<0.31.0", optional = true }
|
|
50
50
|
boto3 = { version = ">=1.24.74,<2", optional = true }
|
|
51
51
|
psycopg2 = { version = ">=2.8.6,<3", optional = true }
|
|
52
|
-
sqlmodel = { version = ">=0.0.14,<0.0.
|
|
52
|
+
sqlmodel = { version = ">=0.0.14,<0.0.26", optional = true }
|
|
53
53
|
|
|
54
54
|
[tool.poetry.group.dev.dependencies]
|
|
55
|
-
alembic = "1.
|
|
55
|
+
alembic = "1.16.5"
|
|
56
56
|
asgi_lifespan = "2.1.0"
|
|
57
|
-
Faker = "37.
|
|
58
|
-
greenlet = "3.
|
|
57
|
+
Faker = "37.8.0"
|
|
58
|
+
greenlet = "3.2.4"
|
|
59
59
|
httpx = "0.28.1"
|
|
60
|
-
mypy = { version = "1.
|
|
60
|
+
mypy = { version = "1.18.1", extras = ["tests"] }
|
|
61
61
|
psycopg2 = { version = "2.9.10", extras = ["binary"] }
|
|
62
|
-
pytest = "8.
|
|
63
|
-
pytest-asyncio = "
|
|
64
|
-
pytest-cov = "
|
|
65
|
-
ruff = "0.
|
|
66
|
-
tox = "4.
|
|
62
|
+
pytest = "8.4.2"
|
|
63
|
+
pytest-asyncio = "1.2.0"
|
|
64
|
+
pytest-cov = "7.0.0"
|
|
65
|
+
ruff = "0.13.0"
|
|
66
|
+
tox = "4.30.2"
|
|
67
67
|
|
|
68
68
|
[tool.poetry.extras]
|
|
69
69
|
asyncpg = ["asyncpg"]
|
|
@@ -141,6 +141,7 @@ ignore = [
|
|
|
141
141
|
"S105", # Disable passwords check
|
|
142
142
|
"S106", # Disable passwords check
|
|
143
143
|
"S608", # Allow SQL string construction
|
|
144
|
+
"PLC0415", # Ignore imports at top of file
|
|
144
145
|
]
|
|
145
146
|
|
|
146
147
|
[tool.ruff.lint.pydocstyle]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|