From 12cf076118570eebbff08c6b3090e0d4798447a1 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 03:17:55 -0400 Subject: no venv --- .../litestar/contrib/sqlalchemy/__init__.py | 0 .../__pycache__/__init__.cpython-311.pyc | Bin 211 -> 0 bytes .../sqlalchemy/__pycache__/base.cpython-311.pyc | Bin 1044 -> 0 bytes .../sqlalchemy/__pycache__/dto.cpython-311.pyc | Bin 412 -> 0 bytes .../sqlalchemy/__pycache__/types.cpython-311.pyc | Bin 487 -> 0 bytes .../litestar/contrib/sqlalchemy/base.py | 38 --------------------- .../litestar/contrib/sqlalchemy/dto.py | 5 --- .../contrib/sqlalchemy/plugins/__init__.py | 28 --------------- .../plugins/__pycache__/__init__.cpython-311.pyc | Bin 895 -> 0 bytes .../__pycache__/serialization.cpython-311.pyc | Bin 414 -> 0 bytes .../contrib/sqlalchemy/plugins/init/__init__.py | 23 ------------- .../init/__pycache__/__init__.cpython-311.pyc | Bin 734 -> 0 bytes .../init/__pycache__/plugin.cpython-311.pyc | Bin 403 -> 0 bytes .../sqlalchemy/plugins/init/config/__init__.py | 16 --------- .../config/__pycache__/__init__.cpython-311.pyc | Bin 720 -> 0 bytes .../config/__pycache__/asyncio.cpython-311.pyc | Bin 1166 -> 0 bytes .../init/config/__pycache__/common.cpython-311.pyc | Bin 684 -> 0 bytes .../init/config/__pycache__/compat.cpython-311.pyc | Bin 1819 -> 0 bytes .../init/config/__pycache__/engine.cpython-311.pyc | Bin 388 -> 0 bytes .../init/config/__pycache__/sync.cpython-311.pyc | Bin 1136 -> 0 bytes .../sqlalchemy/plugins/init/config/asyncio.py | 24 ------------- .../sqlalchemy/plugins/init/config/common.py | 15 -------- .../sqlalchemy/plugins/init/config/compat.py | 22 ------------ .../sqlalchemy/plugins/init/config/engine.py | 5 --- .../contrib/sqlalchemy/plugins/init/config/sync.py | 24 ------------- .../contrib/sqlalchemy/plugins/init/plugin.py | 5 --- .../contrib/sqlalchemy/plugins/serialization.py | 5 --- .../contrib/sqlalchemy/repository/__init__.py | 11 ------ .../__pycache__/__init__.cpython-311.pyc | Bin 525 -> 0 bytes .../repository/__pycache__/_async.cpython-311.pyc | Bin 389 -> 0 bytes .../repository/__pycache__/_sync.cpython-311.pyc | Bin 389 -> 0 bytes .../repository/__pycache__/_util.cpython-311.pyc | Bin 446 -> 0 bytes .../repository/__pycache__/types.cpython-311.pyc | Bin 501 -> 0 bytes .../contrib/sqlalchemy/repository/_async.py | 5 --- .../contrib/sqlalchemy/repository/_sync.py | 7 ---- .../contrib/sqlalchemy/repository/_util.py | 8 ----- .../contrib/sqlalchemy/repository/types.py | 15 -------- .../litestar/contrib/sqlalchemy/types.py | 11 ------ 38 files changed, 267 deletions(-) delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__init__.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/__init__.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/base.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/dto.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/types.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/base.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/dto.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__init__.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/__init__.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/serialization.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__init__.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/__init__.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/plugin.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__init__.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/__init__.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/asyncio.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/common.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/compat.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/engine.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/sync.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/asyncio.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/common.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/compat.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/engine.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/sync.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/plugin.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/serialization.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__init__.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/__init__.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_async.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_sync.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_util.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/types.cpython-311.pyc delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_async.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_sync.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_util.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/types.py delete mode 100644 venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/types.py (limited to 'venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy') diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 1b0f40a..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/base.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/base.cpython-311.pyc deleted file mode 100644 index 199862b..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/base.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/dto.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/dto.cpython-311.pyc deleted file mode 100644 index 5467843..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/dto.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/types.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/types.cpython-311.pyc deleted file mode 100644 index 09819d1..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/__pycache__/types.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/base.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/base.py deleted file mode 100644 index 9ce9608..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/base.py +++ /dev/null @@ -1,38 +0,0 @@ -"""Application ORM configuration.""" - -from __future__ import annotations - -try: - # v0.6.0+ - from advanced_alchemy._listeners import touch_updated_timestamp # pyright: ignore -except ImportError: - from advanced_alchemy.base import touch_updated_timestamp # type: ignore[no-redef,attr-defined] - -from advanced_alchemy.base import ( - AuditColumns, - BigIntAuditBase, - BigIntBase, - BigIntPrimaryKey, - CommonTableAttributes, - ModelProtocol, - UUIDAuditBase, - UUIDBase, - UUIDPrimaryKey, - create_registry, - orm_registry, -) - -__all__ = ( - "AuditColumns", - "BigIntAuditBase", - "BigIntBase", - "BigIntPrimaryKey", - "CommonTableAttributes", - "create_registry", - "ModelProtocol", - "touch_updated_timestamp", - "UUIDAuditBase", - "UUIDBase", - "UUIDPrimaryKey", - "orm_registry", -) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/dto.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/dto.py deleted file mode 100644 index beea75d..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/dto.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.extensions.litestar.dto import SQLAlchemyDTO, SQLAlchemyDTOConfig - -__all__ = ("SQLAlchemyDTO", "SQLAlchemyDTOConfig") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__init__.py deleted file mode 100644 index 5bc913c..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__init__.py +++ /dev/null @@ -1,28 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.extensions.litestar.plugins import SQLAlchemyPlugin - -from .init import ( - AsyncSessionConfig, - EngineConfig, - GenericSessionConfig, - GenericSQLAlchemyConfig, - SQLAlchemyAsyncConfig, - SQLAlchemyInitPlugin, - SQLAlchemySyncConfig, - SyncSessionConfig, -) -from .serialization import SQLAlchemySerializationPlugin - -__all__ = ( - "AsyncSessionConfig", - "EngineConfig", - "GenericSQLAlchemyConfig", - "GenericSessionConfig", - "SQLAlchemyAsyncConfig", - "SQLAlchemyInitPlugin", - "SQLAlchemyPlugin", - "SQLAlchemySerializationPlugin", - "SQLAlchemySyncConfig", - "SyncSessionConfig", -) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 019ff72..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/serialization.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/serialization.cpython-311.pyc deleted file mode 100644 index 7bd0360..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/__pycache__/serialization.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__init__.py deleted file mode 100644 index 2e507c1..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -from __future__ import annotations - -from .config import ( - AsyncSessionConfig, - EngineConfig, - GenericSessionConfig, - GenericSQLAlchemyConfig, - SQLAlchemyAsyncConfig, - SQLAlchemySyncConfig, - SyncSessionConfig, -) -from .plugin import SQLAlchemyInitPlugin - -__all__ = ( - "AsyncSessionConfig", - "EngineConfig", - "GenericSQLAlchemyConfig", - "GenericSessionConfig", - "SQLAlchemyAsyncConfig", - "SQLAlchemyInitPlugin", - "SQLAlchemySyncConfig", - "SyncSessionConfig", -) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 43da1aa..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/plugin.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/plugin.cpython-311.pyc deleted file mode 100644 index e06ec42..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/plugin.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__init__.py deleted file mode 100644 index f2e39da..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -from __future__ import annotations - -from .asyncio import AsyncSessionConfig, SQLAlchemyAsyncConfig -from .common import GenericSessionConfig, GenericSQLAlchemyConfig -from .engine import EngineConfig -from .sync import SQLAlchemySyncConfig, SyncSessionConfig - -__all__ = ( - "AsyncSessionConfig", - "EngineConfig", - "GenericSQLAlchemyConfig", - "GenericSessionConfig", - "SQLAlchemyAsyncConfig", - "SQLAlchemySyncConfig", - "SyncSessionConfig", -) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 2a316ef..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/asyncio.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/asyncio.cpython-311.pyc deleted file mode 100644 index 23fe455..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/asyncio.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/common.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/common.cpython-311.pyc deleted file mode 100644 index 6e83a95..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/common.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/compat.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/compat.cpython-311.pyc deleted file mode 100644 index 4ba72bb..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/compat.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/engine.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/engine.cpython-311.pyc deleted file mode 100644 index 1d4553b..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/engine.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/sync.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/sync.cpython-311.pyc deleted file mode 100644 index d777bb9..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/sync.cpython-311.pyc and /dev/null differ diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/asyncio.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/asyncio.py deleted file mode 100644 index 434c761..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/asyncio.py +++ /dev/null @@ -1,24 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.config.asyncio import AlembicAsyncConfig, AsyncSessionConfig -from advanced_alchemy.extensions.litestar.plugins.init.config.asyncio import ( - SQLAlchemyAsyncConfig as _SQLAlchemyAsyncConfig, -) -from advanced_alchemy.extensions.litestar.plugins.init.config.asyncio import ( - autocommit_before_send_handler, - default_before_send_handler, -) -from sqlalchemy.ext.asyncio import AsyncEngine - -from litestar.contrib.sqlalchemy.plugins.init.config.compat import _CreateEngineMixin - -__all__ = ( - "SQLAlchemyAsyncConfig", - "AlembicAsyncConfig", - "AsyncSessionConfig", - "default_before_send_handler", - "autocommit_before_send_handler", -) - - -class SQLAlchemyAsyncConfig(_SQLAlchemyAsyncConfig, _CreateEngineMixin[AsyncEngine]): ... diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/common.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/common.py deleted file mode 100644 index 9afc48c..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/common.py +++ /dev/null @@ -1,15 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.config.common import GenericAlembicConfig, GenericSessionConfig, GenericSQLAlchemyConfig -from advanced_alchemy.extensions.litestar.plugins.init.config.common import ( - SESSION_SCOPE_KEY, - SESSION_TERMINUS_ASGI_EVENTS, -) - -__all__ = ( - "SESSION_SCOPE_KEY", - "SESSION_TERMINUS_ASGI_EVENTS", - "GenericSQLAlchemyConfig", - "GenericSessionConfig", - "GenericAlembicConfig", -) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/compat.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/compat.py deleted file mode 100644 index d76dea7..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/compat.py +++ /dev/null @@ -1,22 +0,0 @@ -from __future__ import annotations - -from typing import TYPE_CHECKING, Generic, Protocol, TypeVar - -from litestar.utils.deprecation import deprecated - -if TYPE_CHECKING: - from sqlalchemy import Engine - from sqlalchemy.ext.asyncio import AsyncEngine - - -EngineT_co = TypeVar("EngineT_co", bound="Engine | AsyncEngine", covariant=True) - - -class HasGetEngine(Protocol[EngineT_co]): - def get_engine(self) -> EngineT_co: ... - - -class _CreateEngineMixin(Generic[EngineT_co]): - @deprecated(version="2.1.1", removal_in="3.0.0", alternative="get_engine()") - def create_engine(self: HasGetEngine[EngineT_co]) -> EngineT_co: - return self.get_engine() diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/engine.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/engine.py deleted file mode 100644 index 31c3f5e..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/engine.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.config.engine import EngineConfig - -__all__ = ("EngineConfig",) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/sync.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/sync.py deleted file mode 100644 index 48a029b..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/sync.py +++ /dev/null @@ -1,24 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.config.sync import AlembicSyncConfig, SyncSessionConfig -from advanced_alchemy.extensions.litestar.plugins.init.config.sync import ( - SQLAlchemySyncConfig as _SQLAlchemySyncConfig, -) -from advanced_alchemy.extensions.litestar.plugins.init.config.sync import ( - autocommit_before_send_handler, - default_before_send_handler, -) -from sqlalchemy import Engine - -from litestar.contrib.sqlalchemy.plugins.init.config.compat import _CreateEngineMixin - -__all__ = ( - "SQLAlchemySyncConfig", - "AlembicSyncConfig", - "SyncSessionConfig", - "default_before_send_handler", - "autocommit_before_send_handler", -) - - -class SQLAlchemySyncConfig(_SQLAlchemySyncConfig, _CreateEngineMixin[Engine]): ... diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/plugin.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/plugin.py deleted file mode 100644 index dbf814b..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/plugin.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.extensions.litestar.plugins import SQLAlchemyInitPlugin - -__all__ = ("SQLAlchemyInitPlugin",) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/serialization.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/serialization.py deleted file mode 100644 index 539b194..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/serialization.py +++ /dev/null @@ -1,5 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.extensions.litestar.plugins import SQLAlchemySerializationPlugin - -__all__ = ("SQLAlchemySerializationPlugin",) 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 deleted file mode 100644 index 64a8359..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__init__.py +++ /dev/null @@ -1,11 +0,0 @@ -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 deleted file mode 100644 index 3e6dacf..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/__init__.cpython-311.pyc and /dev/null differ 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 deleted file mode 100644 index 461fbad..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_async.cpython-311.pyc and /dev/null differ 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 deleted file mode 100644 index bd6d80f..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_sync.cpython-311.pyc and /dev/null differ 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 deleted file mode 100644 index 561fd53..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/_util.cpython-311.pyc and /dev/null differ 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 deleted file mode 100644 index fa8191e..0000000 Binary files a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/__pycache__/types.cpython-311.pyc and /dev/null differ 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 deleted file mode 100644 index 417ec35..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_async.py +++ /dev/null @@ -1,5 +0,0 @@ -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 deleted file mode 100644 index 58ccbb8..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_sync.py +++ /dev/null @@ -1,7 +0,0 @@ -# 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 deleted file mode 100644 index c0ce747..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/_util.py +++ /dev/null @@ -1,8 +0,0 @@ -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 deleted file mode 100644 index 2a4204c..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/repository/types.py +++ /dev/null @@ -1,15 +0,0 @@ -from advanced_alchemy.repository.typing import ( - ModelT, - RowT, - SelectT, - SQLAlchemyAsyncRepositoryT, - SQLAlchemySyncRepositoryT, -) - -__all__ = ( - "ModelT", - "SelectT", - "RowT", - "SQLAlchemySyncRepositoryT", - "SQLAlchemyAsyncRepositoryT", -) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/types.py b/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/types.py deleted file mode 100644 index 61fb75a..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/types.py +++ /dev/null @@ -1,11 +0,0 @@ -from __future__ import annotations - -from advanced_alchemy.types import GUID, ORA_JSONB, BigIntIdentity, DateTimeUTC, JsonB - -__all__ = ( - "GUID", - "ORA_JSONB", - "DateTimeUTC", - "BigIntIdentity", - "JsonB", -) -- cgit v1.2.3