Skip to content

Commit e6854ab

Browse files
committed
fix: import .env
1 parent 750a0ca commit e6854ab

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

runpod/serverless/modules/logging.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
from dotenv import load_dotenv
55

66

7-
load_dotenv( ) # Load environment variables
7+
env_path = os.getcwd() + '/.env'
8+
load_dotenv(env_path) # Load environment variables
89

910

1011
def log(message, level='INFO'):

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = runpod
3-
version = 0.1.4
3+
version = 0.1.5
44
description = Official Python library for RunPod API & SDK.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)