pandera.api.xarray.utils.get_validation_depth¶
- pandera.api.xarray.utils.get_validation_depth(check_obj)[source]¶
Resolve
ValidationDepthfor an xarray object.Precedence matches
pandera.api.xarray.utils.get_validation_depth(): contextvalidation_depth, then global config, then defaults — chunked (Dask-backed) objects default toValidationDepth.SCHEMA_ONLYso data-level checks do not compute lazy storage unless the user setsPANDERA_VALIDATION_DEPTHor usesconfig_context(). Eager objects default toValidationDepth.SCHEMA_AND_DATA.- Return type: