Closed tnatt closed 1 month ago
In the meta.TracklogEvent the event field is typed as a str and the examples states three types. https://github.com/equinor/fmu-dataio/blob/0c2d04016875c2194b0f1777c37bb743e5880e1b/src/fmu/dataio/datastructure/meta/meta.py#L327-L329
meta.TracklogEvent
event
str
We should constrain the type for the event field inside the meta.TracklogEvent to an Enum or at least a Literal instead of str
Enum
Literal
covered in #662
In the
meta.TracklogEvent
theevent
field is typed as astr
and the examples states three types. https://github.com/equinor/fmu-dataio/blob/0c2d04016875c2194b0f1777c37bb743e5880e1b/src/fmu/dataio/datastructure/meta/meta.py#L327-L329We should constrain the type for the event field inside the
meta.TracklogEvent
to anEnum
or at least aLiteral
instead ofstr