From b7138a6e26ade2f8a1852f6f46090a987aa0ad44 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Sun, 31 Mar 2024 20:03:44 -0300 Subject: [PATCH] Fix definition of FoamFile.Value --- foamlib/_dictionaries.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/foamlib/_dictionaries.py b/foamlib/_dictionaries.py index ce07011..63561bb 100644 --- a/foamlib/_dictionaries.py +++ b/foamlib/_dictionaries.py @@ -171,16 +171,7 @@ def __post_init__(self) -> None: if not isinstance(self.dimensions, FoamFile.DimensionSet): self.dimensions = FoamFile.DimensionSet(*self.dimensions) - Value = Union[ - str, - int, - float, - bool, - Dimensioned, - DimensionSet, - Sequence["Value"], - Mapping[str, "Value"], - ] + Value = Union[str, int, float, bool, Dimensioned, DimensionSet, Sequence["Value"]] """ A value that can be stored in an OpenFOAM dictionary. """