diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/litestar/contrib/repository')
12 files changed, 120 insertions, 0 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 new file mode 100644 index 0000000..3a329c9 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__init__.py @@ -0,0 +1,20 @@ +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 differnew file mode 100644 index 0000000..1b3c01a --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/__init__.cpython-311.pyc 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 differnew file mode 100644 index 0000000..29868c6 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/exceptions.cpython-311.pyc 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 differnew file mode 100644 index 0000000..a69925c --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/filters.cpython-311.pyc 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 differnew file mode 100644 index 0000000..5d82074 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/handlers.cpython-311.pyc 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 differnew file mode 100644 index 0000000..474bdcf --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/__pycache__/testing.cpython-311.pyc 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 new file mode 100644 index 0000000..17efc1b --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__init__.py @@ -0,0 +1,20 @@ +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 differnew file mode 100644 index 0000000..666c136 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/abc/__pycache__/__init__.cpython-311.pyc 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 new file mode 100644 index 0000000..1e7e738 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/exceptions.py @@ -0,0 +1,20 @@ +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 new file mode 100644 index 0000000..3736a76 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/filters.py @@ -0,0 +1,20 @@ +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 new file mode 100644 index 0000000..b1174e4 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/handlers.py @@ -0,0 +1,20 @@ +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 new file mode 100644 index 0000000..b78fea8 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/repository/testing.py @@ -0,0 +1,20 @@ +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}") |