MCPcopy Index your code
hub / github.com/pydata/xarray / __init_subclass__

Method __init_subclass__

xarray/computation/ops.py:303–307  ·  view source on GitHub ↗
(cls, **kwargs)

Source from the content-addressed store, hash-verified

301 __slots__ = ()
302
303 def __init_subclass__(cls, **kwargs):
304 super().__init_subclass__(**kwargs)
305
306 if getattr(cls, "_reduce_method", None):
307 inject_reduce_methods(cls)
308
309
310class IncludeNumpySameMethods:

Callers 1

__init_subclass__Method · 0.45

Calls 1

inject_reduce_methodsFunction · 0.85

Tested by

no test coverage detected