Skip to content

Commit

Permalink
fix bugs in run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli_han authored and yuli_han committed Feb 28, 2024
1 parent 992a0e3 commit f20ee00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/py/ai/chronon/repo/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,10 @@ def set_runtime_env(args):
team = "default"
# context is the environment in which the job is running, which is provided from the args,
# default to be dev.
context = args.env
if args.env:
context = args.env
else:
context = "dev"
logging.info(
f"Context: {context} -- conf_type: {conf_type} -- team: {team}"
)
Expand Down

0 comments on commit f20ee00

Please sign in to comment.