Skip to content

Commit d73721c

Browse files
lint
Signed-off-by: Alexey Kudinkin <[email protected]>
1 parent b1aa4cd commit d73721c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/ray/data/_internal/stats.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,9 @@ def __init__(self):
633633
self._update_thread: Optional[threading.Thread] = None
634634
self._update_thread_lock: threading.Lock = threading.Lock()
635635

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]:
637639
if ray._private.worker._global_node is None:
638640
raise RuntimeError(
639641
"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
654656
except ValueError:
655657
# Create an actor if it doesn't exist
656658
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+
)
658662

659663
return self._stats_actor_handle
660664

0 commit comments

Comments
 (0)