Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ray-project/ray
/ clear
Method
clear
python/ray/data/dataset.py:7907–7909 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
7905
# --- Lifecycle ---
7906
7907
def
clear(self) -> None:
7908
self._stats = None
7909
self._clear_dag_dependent_cache()
7910
7911
def
_clear_dag_dependent_cache(self) -> None:
7912
self._operator = None
Callers
15
reset_cache
Method · 0.45
test_concurrent_loading
Method · 0.45
flush_pending
Method · 0.45
prefill_queue
Function · 0.45
pacer
Function · 0.45
start_eviction_loop
Method · 0.45
clear_registry
Method · 0.45
serialize_lineage
Method · 0.45
flush_values
Method · 0.45
flush
Method · 0.45
retry_fn
Function · 0.45
create_tune_experiment_checkpoint
Function · 0.45
Calls
1
_clear_dag_dependent_cache
Method · 0.95
Tested by
15
test_concurrent_loading
Method · 0.36
create_tune_experiment_checkpoint
Function · 0.36
test_fetch_trial_dataframes_with_errors
Function · 0.36
testDelayedLaunch
Method · 0.36
testDelayedLaunchWithMinWorkers
Method · 0.36
testLaunchConfigChange
Method · 0.36
testNodeTerminatedDuringUpdate
Method · 0.36
testDontScaleDownIdleTimeOutForPlacementGroups
Method · 0.36
reset_debug_logs
Function · 0.36
test_distributed_tqdm_local
Function · 0.36
test_distributed_tqdm_iterator
Function · 0.36
test_flush_interval
Function · 0.36