(self, expr)
| 343 | __dask_optimize__ = staticmethod(lambda dsk, keys, **kwargs: dsk) |
| 344 | |
| 345 | def __init__(self, expr): |
| 346 | global _WARN_ANNOTATIONS |
| 347 | if _WARN_ANNOTATIONS and (annot := get_annotations()): |
| 348 | _WARN_ANNOTATIONS = False |
| 349 | warnings.warn( |
| 350 | f"Dask annotations {annot} detected. Annotations will be ignored when using query-planning." |
| 351 | ) |
| 352 | self._expr = expr |
| 353 | |
| 354 | @property |
| 355 | def expr(self) -> expr.Expr: |
nothing calls this directly
no test coverage detected