From ea5817f3a354fe608a93b37e57d030999cecafbb Mon Sep 17 00:00:00 2001 From: Mikkel Pedersen Date: Fri, 22 Nov 2024 19:42:49 +0100 Subject: [PATCH] fix(DAG inputs): Set annotations before checking default_local --- pollination_dsl/dag/inputs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pollination_dsl/dag/inputs.py b/pollination_dsl/dag/inputs.py index f5a2913..1d221ca 100644 --- a/pollination_dsl/dag/inputs.py +++ b/pollination_dsl/dag/inputs.py @@ -59,8 +59,8 @@ def to_queenbee(self, name): """Convert this input to a Queenbee input.""" func = _inputs_mapper[self.__class__.__name__] + annotations = self.annotations or {} if self.default_local: - annotations = self.annotations or {} annotations['__default_local__'] = self.default_local data = {