Skip to content

Commit 9cc1fcc

Browse files
added env override
1 parent 24b27b1 commit 9cc1fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎clients/python-client/src/chunkr_ai/api/chunkr_base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ChunkrBase(HeadersMixin):
1919
"""
2020

2121
def __init__(self, url: str = None, api_key: str = None, raise_on_failure: bool = False):
22-
load_dotenv()
22+
load_dotenv(override=True)
2323
self.url = url or os.getenv("CHUNKR_URL") or "https://api.chunkr.ai"
2424
self._api_key = api_key or os.getenv("CHUNKR_API_KEY")
2525
self.raise_on_failure = raise_on_failure

0 commit comments

Comments
 (0)