MCPcopy
hub / github.com/pydata/xarray / __init__

Method __init__

xarray/tests/test_dataset.py:412–415  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

410 def test_repr_nep18(self) -> None:
411 class Array:
412 def __init__(self):
413 self.shape = (2,)
414 self.ndim = 1
415 self.dtype = np.dtype(np.float64)
416
417 def __array_function__(self, *args, **kwargs):
418 return NotImplemented

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 1

dtypeMethod · 0.45

Tested by

no test coverage detected