Merge pull request #212 from redis/remove-dotenv-dependency-#154
Removed dotenv dependency and code.
This commit is contained in:
		
						commit
						1d104d2eb2
					
				
					 3 changed files with 1 additions and 21 deletions
				
			
		| 
						 | 
					@ -1,10 +1,6 @@
 | 
				
			||||||
import os
 | 
					import os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import aioredis
 | 
					import aioredis
 | 
				
			||||||
import dotenv
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
dotenv.load_dotenv()
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
URL = os.environ.get("REDIS_OM_URL", None)
 | 
					URL = os.environ.get("REDIS_OM_URL", None)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										17
									
								
								poetry.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										17
									
								
								poetry.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
					@ -891,17 +891,6 @@ psutil = ["psutil (>=3.0)"]
 | 
				
			||||||
setproctitle = ["setproctitle"]
 | 
					setproctitle = ["setproctitle"]
 | 
				
			||||||
testing = ["filelock"]
 | 
					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]]
 | 
					[[package]]
 | 
				
			||||||
name = "python-ulid"
 | 
					name = "python-ulid"
 | 
				
			||||||
version = "1.1.0"
 | 
					version = "1.1.0"
 | 
				
			||||||
| 
						 | 
					@ -1252,7 +1241,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes
 | 
				
			||||||
[metadata]
 | 
					[metadata]
 | 
				
			||||||
lock-version = "1.1"
 | 
					lock-version = "1.1"
 | 
				
			||||||
python-versions = "^3.7"
 | 
					python-versions = "^3.7"
 | 
				
			||||||
content-hash = "10bb933501e8eac9d642b4a655e58f247e79ed92dc45c1b77eaddd99e94aed77"
 | 
					content-hash = "a1cf6f75d836519182bcf2ad53213b49081aef7de1c789980663012d98f5f894"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[metadata.files]
 | 
					[metadata.files]
 | 
				
			||||||
aioredis = [
 | 
					aioredis = [
 | 
				
			||||||
| 
						 | 
					@ -1789,10 +1778,6 @@ pytest-xdist = [
 | 
				
			||||||
    {file = "pytest-xdist-2.5.0.tar.gz", hash = "sha256:4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf"},
 | 
					    {file = "pytest-xdist-2.5.0.tar.gz", hash = "sha256:4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf"},
 | 
				
			||||||
    {file = "pytest_xdist-2.5.0-py3-none-any.whl", hash = "sha256:6fe5c74fec98906deb8f2d2b616b5c782022744978e7bd4695d39c8f42d0ce65"},
 | 
					    {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 = [
 | 
					python-ulid = [
 | 
				
			||||||
    {file = "python-ulid-1.1.0.tar.gz", hash = "sha256:5fb5e4a91db8ca93e8938a613360b3def299b60d41f847279a8c39c9b2e9c65e"},
 | 
					    {file = "python-ulid-1.1.0.tar.gz", hash = "sha256:5fb5e4a91db8ca93e8938a613360b3def299b60d41f847279a8c39c9b2e9c65e"},
 | 
				
			||||||
    {file = "python_ulid-1.1.0-py3-none-any.whl", hash = "sha256:88c952f6be133dbede19c907d72d26717d2691ec8421512b573144794d891e24"},
 | 
					    {file = "python_ulid-1.1.0-py3-none-any.whl", hash = "sha256:88c952f6be133dbede19c907d72d26717d2691ec8421512b573144794d891e24"},
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,7 +32,6 @@ pptree = "^3.1"
 | 
				
			||||||
types-redis = ">=3.5.9,<5.0.0"
 | 
					types-redis = ">=3.5.9,<5.0.0"
 | 
				
			||||||
types-six = "^1.16.1"
 | 
					types-six = "^1.16.1"
 | 
				
			||||||
python-ulid = "^1.0.3"
 | 
					python-ulid = "^1.0.3"
 | 
				
			||||||
python-dotenv = ">=0.19.1,<0.21.0"
 | 
					 | 
				
			||||||
cleo = "1.0.0a4"
 | 
					cleo = "1.0.0a4"
 | 
				
			||||||
typing-extensions = "^4.0.0"
 | 
					typing-extensions = "^4.0.0"
 | 
				
			||||||
hiredis = "^2.0.0"
 | 
					hiredis = "^2.0.0"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue