File tree Expand file tree Collapse file tree
python/lib/sift_client/sift_types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -589,7 +589,7 @@ class TdmsImportConfig(ImportConfigBase):
589589
590590 start_time_override : datetime | None = None
591591 data : list [TdmsDataColumn ] = []
592- fallback_method : TdmsFallbackMethod | None = None
592+ fallback_method : TdmsFallbackMethod = TdmsFallbackMethod . FAIL_ON_ERROR
593593 time_format : TimeFormat | None = None
594594 relative_start_time : datetime | None = None
595595 import_file_properties : bool = False
@@ -610,8 +610,7 @@ def _to_proto(self) -> TDMSConfigProto:
610610 )
611611 if self .start_time_override is not None :
612612 proto .start_time_override .CopyFrom (to_pb_timestamp (self .start_time_override ))
613- if self .fallback_method is not None :
614- proto .fallback_method = self .fallback_method .value
613+ proto .fallback_method = self .fallback_method .value
615614 if self .time_format is not None :
616615 proto .time_format = self .time_format .value
617616 if self .relative_start_time is not None :
You can’t perform that action at this time.
0 commit comments