File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
python/ray/data/_internal Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,9 @@ def __init__(self):
633
633
self ._update_thread : Optional [threading .Thread ] = None
634
634
self ._update_thread_lock : threading .Lock = threading .Lock ()
635
635
636
- def _get_or_create_stats_actor (self , skip_cache : bool = False ) -> Optional [ActorHandle ]:
636
+ def _get_or_create_stats_actor (
637
+ self , skip_cache : bool = False
638
+ ) -> Optional [ActorHandle ]:
637
639
if ray ._private .worker ._global_node is None :
638
640
raise RuntimeError (
639
641
"Global node is not initialized. Driver might be not connected to Ray."
@@ -654,7 +656,9 @@ def _get_or_create_stats_actor(self, skip_cache: bool = False) -> Optional[Actor
654
656
except ValueError :
655
657
# Create an actor if it doesn't exist
656
658
self ._stats_actor_handle = _get_or_create_stats_actor ()
657
- self ._stats_actor_cluster_id = ray ._private .worker ._global_node .cluster_id
659
+ self ._stats_actor_cluster_id = (
660
+ ray ._private .worker ._global_node .cluster_id
661
+ )
658
662
659
663
return self ._stats_actor_handle
660
664
You can’t perform that action at this time.
0 commit comments