File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class BaseComparam(IdentifiableElement):
18
18
param_class : str
19
19
cptype : StandardizationLevel
20
20
display_level : int | None = None
21
- cpusage : Usage | None # Required in ODX 2.2, missing in ODX 2.0
21
+ cpusage : Usage | None = None # Required in ODX 2.2, missing in ODX 2.0
22
22
23
23
@staticmethod
24
24
def from_et (et_element : ElementTree .Element , context : OdxDocContext ) -> "BaseComparam" :
Original file line number Diff line number Diff line change 11
11
@dataclass (kw_only = True )
12
12
class SpecialData :
13
13
"""This corresponds to the SD XML tag"""
14
- semantic_info : str | None # the "SI" attribute
15
- text_identifier : str | None # the "TI" attribute, specifies the language used
14
+ semantic_info : str | None = None # the "SI" attribute
15
+ text_identifier : str | None = None # the "TI" attribute, specifies the language used
16
16
value : str
17
17
18
18
@staticmethod
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class SpecialDataGroup:
16
16
sdg_caption : SpecialDataGroupCaption | None = None
17
17
sdg_caption_ref : OdxLinkRef | None = None
18
18
values : list [Union ["SpecialDataGroup" , SpecialData ]] = field (default_factory = list )
19
- semantic_info : str | None # the "SI" attribute
19
+ semantic_info : str | None = None # the "SI" attribute
20
20
21
21
@staticmethod
22
22
def from_et (et_element : ElementTree .Element , context : OdxDocContext ) -> "SpecialDataGroup" :
You can’t perform that action at this time.
0 commit comments