diff --git a/api/py/ai/chronon/repo/run.py b/api/py/ai/chronon/repo/run.py index 6c9f5628d..d04fe13c5 100755 --- a/api/py/ai/chronon/repo/run.py +++ b/api/py/ai/chronon/repo/run.py @@ -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}" )