From 2f521ac645d72f0f272f9b757fa521764fe6b3d3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 1 Dec 2024 10:30:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sdgx/models/components/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdgx/models/components/utils.py b/sdgx/models/components/utils.py index cabdd88a..0520acb1 100644 --- a/sdgx/models/components/utils.py +++ b/sdgx/models/components/utils.py @@ -9,6 +9,7 @@ class StrValuedEnumMeta(EnumMeta): def __str__(self): return str(self.values) + __repr__ = __str__ def __contains__(cls, item): @@ -51,7 +52,6 @@ def __str__(self): return self.value - def flatten_array(nested, prefix=""): """Flatten an array as a dict.