Skip to content

Fixes Key Error when no Pipeline Defaults are given

Mick Wright requested to merge mick.wright/asimov:review into review

What?

Currently in event.py at Line 864, the event attempts to remove duplication of pipeline defaults. If no defaults are given however pipelines is not a valid key in the ledger data, this results in a key error. This MR introduces a check to ensure that pipelines is a key in the ledger data.

Why?

Avoids Key Error when no pipeline default settings are given.

Who?

Co-authored-by: Mick Wright mick.wright@protonmail.com

Merge request reports