(name)
| 587 | |
| 588 | |
| 589 | def __getattr__(name): |
| 590 | # Can't use the @_deprecated decorator as it would not work on `except AxisError` |
| 591 | if name == "AxisError": |
| 592 | warnings.warn( |
| 593 | "AxisError was deprecated after version 2021.10.0 and will be removed in a " |
| 594 | f"future release. Please use {typename(AxisError)} instead.", |
| 595 | category=FutureWarning, |
| 596 | stacklevel=2, |
| 597 | ) |
| 598 | return AxisError |
| 599 | else: |
| 600 | raise AttributeError(f"module {__name__} has no attribute {name}") |
nothing calls this directly
no test coverage detected
searching dependent graphs…