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

Method __init__

dask/dataframe/dask_expr/_collection.py:345–352  ·  view source on GitHub ↗
(self, expr)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls 1

get_annotationsFunction · 0.90

Tested by

no test coverage detected