Skip to content

Commit 35d4676

Browse files
committed
adding back in returning da
1 parent 9f1e42c commit 35d4676

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xarray_schema/core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def validate(self, da: xr.DataArray) -> xr.DataArray:
133133
if self.checks:
134134
for check in self.checks:
135135
da = check(da)
136+
137+
return da
136138

137139

138140
class DatasetSchema:

0 commit comments

Comments
 (0)