Skip to content

Conversation

sumukshashidhar
Copy link
Collaborator

No description provided.

@@ -127,10 +132,11 @@ def run_pipeline(
stage_start_time: float = time.time()

# Ensure the specific stage config is at least an empty dict if it was None
if stage_name in config.get("pipeline", {}) and config["pipeline"][stage_name] is None:
config["pipeline"][stage_name] = {}
if pipeline_config[stage_name] is None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail if you are not using a default dict, no?
Maybe use get or catch the KeyError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants