diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/litestar/contrib/repository')
12 files changed, 0 insertions, 120 deletions
diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__init__.py deleted file mode 100644 index 3a329c9..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -from litestar.utils import warn_deprecation - - -def __getattr__(attr_name: str) -> object: - from litestar import repository - - if attr_name in repository.__all__: - warn_deprecation( - deprecated_name=f"litestar.contrib.repository.{attr_name}", - version="2.1", - kind="import", - removal_in="3.0", - info=f"importing {attr_name} from 'litestar.contrib.repository' is deprecated, please" - f"import it from 'litestar.repository.{attr_name}' instead", - ) - - value = globals()[attr_name] = getattr(repository, attr_name) - return value - - raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/__init__.cpython-311.pyc Binary files differdeleted file mode 100644 index 1b3c01a..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/__init__.cpython-311.pyc +++ /dev/null diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/exceptions.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/exceptions.cpython-311.pyc Binary files differdeleted file mode 100644 index 29868c6..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/exceptions.cpython-311.pyc +++ /dev/null diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/filters.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/filters.cpython-311.pyc Binary files differdeleted file mode 100644 index a69925c..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/filters.cpython-311.pyc +++ /dev/null diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/handlers.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/handlers.cpython-311.pyc Binary files differdeleted file mode 100644 index 5d82074..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/handlers.cpython-311.pyc +++ /dev/null diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/testing.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/testing.cpython-311.pyc Binary files differdeleted file mode 100644 index 474bdcf..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/testing.cpython-311.pyc +++ /dev/null diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__init__.py deleted file mode 100644 index 17efc1b..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__init__.py +++ /dev/null @@ -1,20 +0,0 @@ -from litestar.utils import warn_deprecation - - -def __getattr__(attr_name: str) -> object: - from litestar.repository import abc - - if attr_name in abc.__all__: - warn_deprecation( - deprecated_name=f"litestar.contrib.repository.abc.{attr_name}", - version="2.1", - kind="import", - removal_in="3.0", - info=f"importing {attr_name} from 'litestar.contrib.repository.abc' is deprecated, please" - f"import it from 'litestar.repository.abc.{attr_name}' instead", - ) - - value = globals()[attr_name] = getattr(abc, attr_name) - return value - - raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__pycache__/__init__.cpython-311.pyc Binary files differdeleted file mode 100644 index 666c136..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__pycache__/__init__.cpython-311.pyc +++ /dev/null diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/exceptions.py b/venv/lib/python3.11/site-packages/litestar/contrib/repository/exceptions.py deleted file mode 100644 index 1e7e738..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/exceptions.py +++ /dev/null @@ -1,20 +0,0 @@ -from litestar.utils import warn_deprecation - - -def __getattr__(attr_name: str) -> object: - from litestar.repository import exceptions - - if attr_name in exceptions.__all__: - warn_deprecation( - deprecated_name=f"litestar.repository.contrib.exceptions.{attr_name}", - version="2.1", - kind="import", - removal_in="3.0", - info=f"importing {attr_name} from 'litestar.contrib.repository.exceptions' is deprecated, please" - f"import it from 'litestar.repository.exceptions.{attr_name}' instead", - ) - - value = globals()[attr_name] = getattr(exceptions, attr_name) - return value - - raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/filters.py b/venv/lib/python3.11/site-packages/litestar/contrib/repository/filters.py deleted file mode 100644 index 3736a76..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/filters.py +++ /dev/null @@ -1,20 +0,0 @@ -from litestar.utils import warn_deprecation - - -def __getattr__(attr_name: str) -> object: - from litestar.repository import filters - - if attr_name in filters.__all__: - warn_deprecation( - deprecated_name=f"litestar.repository.contrib.filters.{attr_name}", - version="2.1", - kind="import", - removal_in="3.0", - info=f"importing {attr_name} from 'litestar.contrib.repository.filters' is deprecated, please" - f"import it from 'litestar.repository.filters.{attr_name}' instead", - ) - - value = globals()[attr_name] = getattr(filters, attr_name) - return value - - raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/handlers.py b/venv/lib/python3.11/site-packages/litestar/contrib/repository/handlers.py deleted file mode 100644 index b1174e4..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/handlers.py +++ /dev/null @@ -1,20 +0,0 @@ -from litestar.utils import warn_deprecation - - -def __getattr__(attr_name: str) -> object: - from litestar.repository import handlers - - if attr_name in handlers.__all__: - warn_deprecation( - deprecated_name=f"litestar.repository.contrib.handlers.{attr_name}", - version="2.1", - kind="import", - removal_in="3.0", - info=f"importing {attr_name} from 'litestar.contrib.repository.handlers' is deprecated, please" - f"import it from 'litestar.repository.handlers.{attr_name}' instead", - ) - - value = globals()[attr_name] = getattr(handlers, attr_name) - return value - - raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/repository/testing.py b/venv/lib/python3.11/site-packages/litestar/contrib/repository/testing.py deleted file mode 100644 index b78fea8..0000000 --- a/venv/lib/python3.11/site-packages/litestar/contrib/repository/testing.py +++ /dev/null @@ -1,20 +0,0 @@ -from litestar.utils import warn_deprecation - - -def __getattr__(attr_name: str) -> object: - from litestar.repository.testing import generic_mock_repository - - if attr_name in generic_mock_repository.__all__: - warn_deprecation( - deprecated_name=f"litestar.repository.contrib.testing.{attr_name}", - version="2.1", - kind="import", - removal_in="3.0", - info=f"importing {attr_name} from 'litestar.contrib.repository.testing' is deprecated, please" - f"import it from 'litestar.repository.testing.{attr_name}' instead", - ) - - value = globals()[attr_name] = getattr(generic_mock_repository, attr_name) - return value - - raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}") |