xarray_schema.ShapeSchema
- class xarray_schema.ShapeSchema(shape)
Shape schema
- Parameters:
shape (iterable of ints) – Shape definition,
Nonemay be used as a wildcard.- Raises:
- __init__(shape)
Methods
__init__(shape)from_json(obj)to_json(**dumps_kws)Generate a JSON string representation of this schema
validate(shape)Validate shape
Attributes
json