Skip to content

Commit

Permalink
Fix definition of FoamFile.Value
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero committed Mar 31, 2024
1 parent 264a749 commit b7138a6
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions foamlib/_dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit b7138a6

Please sign in to comment.