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

Function check_custom_scheduler

dask/dataframe/tests/test_utils_dataframe.py:644–646  ·  view source on GitHub ↗
(part: pd.DataFrame)

Source from the content-addressed store, hash-verified

642 using_custom_scheduler = False
643
644 def check_custom_scheduler(part: pd.DataFrame) -> pd.DataFrame:
645 assert using_custom_scheduler, "not using custom scheduler"
646 return part + 1
647
648 df = pd.DataFrame({"x": [1, 2, 3, 4]})
649 ddf = dd.from_pandas(df, npartitions=2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected