Skip to content

Commit

Permalink
feat: Updated sdks/python/julep/env.py (#262)
Browse files Browse the repository at this point in the history
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
  • Loading branch information
sweep-ai[bot] authored Apr 18, 2024
1 parent 8087912 commit 26e57ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdks/python/julep/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@

from .api.environment import JulepApiEnvironment

# Initialize the environment variable handler.
env = Env()

# Optional environment variable for the Julep API key. Defaults to None if not set.
JULEP_API_KEY: Optional[str] = env.str("JULEP_API_KEY", None)
# Optional environment variable for the Julep API URL. Defaults to the Julep API's default environment URL if not set.
JULEP_API_URL: Optional[str] = env.str(
"JULEP_API_URL", JulepApiEnvironment.DEFAULT.value
)

0 comments on commit 26e57ac

Please sign in to comment.