Skip to content

Commit e7790c5

Browse files
fix: get_cluster with job submission
1 parent 9e2adef commit e7790c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codeflare_sdk/ray/cluster/cluster.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def __init__(self, config: ClusterConfiguration):
7272
request.
7373
"""
7474
self.config = config
75+
self._job_submission_client = None
7576
if self.config is None:
7677
warnings.warn(
7778
"Please provide a ClusterConfiguration to initialise the Cluster object"
@@ -80,7 +81,6 @@ def __init__(self, config: ClusterConfiguration):
8081
else:
8182
self.resource_yaml = self.create_resource()
8283

83-
self._job_submission_client = None
8484
if is_notebook():
8585
cluster_up_down_buttons(self)
8686

0 commit comments

Comments
 (0)