From ca45306333161f0bb608bdf0c14ca5d776108c21 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 4 Nov 2024 15:55:08 -0500 Subject: [PATCH] Fix NestedProcessingTransformation --- sigma/processing/transformations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigma/processing/transformations.py b/sigma/processing/transformations.py index 5156731..fe25d2a 100644 --- a/sigma/processing/transformations.py +++ b/sigma/processing/transformations.py @@ -1165,9 +1165,10 @@ class NestedProcessingTransformation(Transformation): def __post_init__(self): from sigma.processing.pipeline import ( - ProcessingPipeline, + ProcessingPipeline, ProcessingItem ) # TODO: move to top-level after restructuring code + self.items = [i if isinstance(i, ProcessingItem) else ProcessingItem.from_dict(i) for i in self.items] self._nested_pipeline = ProcessingPipeline(items=self.items) @classmethod