from dascore.exceptions import LazyOperationError
from dascore.utils.array_api import lazy_refusal
assert isinstance(lazy_refusal("detrend"), LazyOperationError)lazy_refusal
lazy_refusal(
name: str ,
)-> ‘LazyOperationError’
Return the error for an operation which would have to read lazy data.
The lazy backend’s answer where another backend would fall back to numpy: it never reads the data behind the caller’s back.
Parameters
| Parameter | Description |
|---|---|
| name | The name of the operation, which the message states. |