From 908ebce9b7437073d4a5ec86c6521b527ab2b904 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Wed, 31 Jan 2024 15:11:03 +0100 Subject: Allowing to delete configuration key thanks to null value in patch. --- src/argaze/DataFeatures.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py index 091b551..6da769d 100644 --- a/src/argaze/DataFeatures.py +++ b/src/argaze/DataFeatures.py @@ -551,6 +551,10 @@ class PipelineStepObject(): d[k] = update(d.get(k, {}), v) + elif v is None: + + del d[k] + else: d[k] = v -- cgit v1.1