File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -84,12 +84,6 @@ def asdataarray(
84
84
DataArray object created from the dataclass object.
85
85
86
86
"""
87
- try :
88
- # for backward compatibility (deprecated in v1.0.0)
89
- dataoptions = DataOptions (dataclass .__dataarray_factory__ )
90
- except AttributeError :
91
- pass
92
-
93
87
try :
94
88
dataoptions = dataclass .__dataoptions__
95
89
except AttributeError :
Original file line number Diff line number Diff line change @@ -84,12 +84,6 @@ def asdataset(
84
84
Dataset object created from the dataclass object.
85
85
86
86
"""
87
- try :
88
- # for backward compatibility (deprecated in v1.0.0)
89
- dataoptions = DataOptions (dataclass .__dataset_factory__ )
90
- except AttributeError :
91
- pass
92
-
93
87
try :
94
88
dataoptions = dataclass .__dataoptions__
95
89
except AttributeError :
You can’t perform that action at this time.
0 commit comments