summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init
diff options
context:
space:
mode:
Diffstat (limited to 'venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init')
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__init__.py23
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/__init__.cpython-311.pycbin734 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/plugin.cpython-311.pycbin403 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__init__.py16
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/__init__.cpython-311.pycbin720 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/asyncio.cpython-311.pycbin1166 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/common.cpython-311.pycbin684 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/compat.cpython-311.pycbin1819 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/engine.cpython-311.pycbin388 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/sync.cpython-311.pycbin1136 -> 0 bytes
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/asyncio.py24
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/common.py15
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/compat.py22
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/engine.py5
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/sync.py24
-rw-r--r--venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/plugin.py5
16 files changed, 0 insertions, 134 deletions
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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/__init__.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/__pycache__/plugin.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/__init__.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/asyncio.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/common.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/compat.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/engine.cpython-311.pyc
+++ /dev/null
Binary files 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
--- a/venv/lib/python3.11/site-packages/litestar/contrib/sqlalchemy/plugins/init/config/__pycache__/sync.cpython-311.pyc
+++ /dev/null
Binary files 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",)