diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository')
10 files changed, 46 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__init__.py new file mode 100644 index 0000000..64a8359 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__init__.py @@ -0,0 +1,11 @@ +from ._async import SQLAlchemyAsyncRepository +from ._sync import SQLAlchemySyncRepository +from ._util import wrap_sqlalchemy_exception +from .types import ModelT + +__all__ = ( + "SQLAlchemyAsyncRepository", + "SQLAlchemySyncRepository", + "ModelT", + "wrap_sqlalchemy_exception", +) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..3e6dacf --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_async.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_async.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..461fbad --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_async.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_sync.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_sync.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..bd6d80f --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_sync.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_util.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_util.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..561fd53 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_util.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/types.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/types.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..fa8191e --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/types.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_async.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_async.py new file mode 100644 index 0000000..417ec35 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_async.py @@ -0,0 +1,5 @@ +from __future__ import annotations + +from advanced_alchemy.repository import SQLAlchemyAsyncRepository + +__all__ = ("SQLAlchemyAsyncRepository",) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_sync.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_sync.py new file mode 100644 index 0000000..58ccbb8 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_sync.py @@ -0,0 +1,7 @@ +# Do not edit this file directly. It has been autogenerated from +# litestar/contrib/sqlalchemy/repository/_async.py +from __future__ import annotations + +from advanced_alchemy.repository import SQLAlchemySyncRepository + +__all__ = ("SQLAlchemySyncRepository",) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_util.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_util.py new file mode 100644 index 0000000..c0ce747 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_util.py @@ -0,0 +1,8 @@ +from __future__ import annotations + +from advanced_alchemy.repository._util import get_instrumented_attr, wrap_sqlalchemy_exception + +__all__ = ( + "wrap_sqlalchemy_exception", + "get_instrumented_attr", +) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/types.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/types.py new file mode 100644 index 0000000..2a4204c --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/types.py @@ -0,0 +1,15 @@ +from advanced_alchemy.repository.typing import ( + ModelT, + RowT, + SelectT, + SQLAlchemyAsyncRepositoryT, + SQLAlchemySyncRepositoryT, +) + +__all__ = ( + "ModelT", + "SelectT", + "RowT", + "SQLAlchemySyncRepositoryT", + "SQLAlchemyAsyncRepositoryT", +) |