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

Function __getattr__

dask/array/utils.py:606–617  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

604
605
606def __getattr__(name):
607 # Can't use the @_deprecated decorator as it would not work on `except AxisError`
608 if name == "AxisError":
609 warnings.warn(
610 "AxisError was deprecated after version 2021.10.0 and will be removed in a "
611 f"future release. Please use {typename(AxisError)} instead.",
612 category=FutureWarning,
613 stacklevel=2,
614 )
615 return AxisError
616 else:
617 raise AttributeError(f"module {__name__} has no attribute {name}")

Callers

nothing calls this directly

Calls 1

typenameFunction · 0.90

Tested by

no test coverage detected