From 5c2d7a29c7d5b3080632e9e8a7a1d1de164d8fe8 Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Sat, 24 Aug 2024 22:23:39 +0100 Subject: [PATCH] fix: add configuration for simplify_ids --- src/dewret/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dewret/core.py b/src/dewret/core.py index 8c7b642f..85f7ef59 100644 --- a/src/dewret/core.py +++ b/src/dewret/core.py @@ -129,6 +129,7 @@ class ConstructConfiguration: allow_plain_dict_fields: bool = False field_separator: str = "/" field_index_types: str = "int" + simplify_ids: bool = True class ConstructConfigurationTypedDict(TypedDict): """Basic configuration of the construction process. @@ -143,6 +144,7 @@ class ConstructConfigurationTypedDict(TypedDict): allow_plain_dict_fields: bool field_separator: str field_index_types: str + simplify_ids: bool @define class GlobalConfiguration: