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

Method __dask_annotations__

dask/_expr.py:1224–1229  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1222 )
1223
1224 def __dask_annotations__(self):
1225 annotations_by_type = {}
1226 for op in self.operands:
1227 for k, v in op.__dask_annotations__().items():
1228 annotations_by_type.setdefault(k, {}).update(v)
1229 return annotations_by_type
1230
1231 def __len__(self):
1232 return len(self.operands)

Callers

nothing calls this directly

Calls 2

itemsMethod · 0.45
__dask_annotations__Method · 0.45

Tested by

no test coverage detected