MCPcopy Create free account
hub / github.com/dask/dask / xarray_sizeof_frozen

Function xarray_sizeof_frozen

dask/sizeof.py:276–277  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

274
275 @sizeof.register(xr.core.utils.Frozen)
276 def xarray_sizeof_frozen(obj):
277 return sys.getsizeof(obj) + sizeof(obj.mapping)
278
279 @sizeof.register(xr.DataArray)
280 @sizeof.register(xr.Variable)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected