diff --git a/aredis_om/connections.py b/aredis_om/connections.py index 59d578d..bbae0c6 100644 --- a/aredis_om/connections.py +++ b/aredis_om/connections.py @@ -1,10 +1,6 @@ import os import aioredis -import dotenv - - -dotenv.load_dotenv() URL = os.environ.get("REDIS_OM_URL", None) diff --git a/poetry.lock b/poetry.lock index 6ed2f34..145f7fd 100644 --- a/poetry.lock +++ b/poetry.lock @@ -891,17 +891,6 @@ psutil = ["psutil (>=3.0)"] setproctitle = ["setproctitle"] testing = ["filelock"] -[[package]] -name = "python-dotenv" -version = "0.20.0" -description = "Read key-value pairs from a .env file and set them as environment variables" -category = "main" -optional = false -python-versions = ">=3.5" - -[package.extras] -cli = ["click (>=5.0)"] - [[package]] name = "python-ulid" version = "1.1.0" @@ -1252,7 +1241,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "10bb933501e8eac9d642b4a655e58f247e79ed92dc45c1b77eaddd99e94aed77" +content-hash = "a1cf6f75d836519182bcf2ad53213b49081aef7de1c789980663012d98f5f894" [metadata.files] aioredis = [ @@ -1789,10 +1778,6 @@ pytest-xdist = [ {file = "pytest-xdist-2.5.0.tar.gz", hash = "sha256:4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf"}, {file = "pytest_xdist-2.5.0-py3-none-any.whl", hash = "sha256:6fe5c74fec98906deb8f2d2b616b5c782022744978e7bd4695d39c8f42d0ce65"}, ] -python-dotenv = [ - {file = "python-dotenv-0.20.0.tar.gz", hash = "sha256:b7e3b04a59693c42c36f9ab1cc2acc46fa5df8c78e178fc33a8d4cd05c8d498f"}, - {file = "python_dotenv-0.20.0-py3-none-any.whl", hash = "sha256:d92a187be61fe482e4fd675b6d52200e7be63a12b724abbf931a40ce4fa92938"}, -] python-ulid = [ {file = "python-ulid-1.1.0.tar.gz", hash = "sha256:5fb5e4a91db8ca93e8938a613360b3def299b60d41f847279a8c39c9b2e9c65e"}, {file = "python_ulid-1.1.0-py3-none-any.whl", hash = "sha256:88c952f6be133dbede19c907d72d26717d2691ec8421512b573144794d891e24"}, diff --git a/pyproject.toml b/pyproject.toml index b4babe5..bdf6e27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,6 @@ pptree = "^3.1" types-redis = ">=3.5.9,<5.0.0" types-six = "^1.16.1" python-ulid = "^1.0.3" -python-dotenv = ">=0.19.1,<0.21.0" cleo = "1.0.0a4" typing-extensions = "^4.0.0" hiredis = "^2.0.0"