We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 771d4df commit 7ded58dCopy full SHA for 7ded58d
docs/detailed-documentation/cluster/cluster.html
@@ -880,7 +880,7 @@ <h1 class="title">Module <code>codeflare_sdk.cluster.cluster</code></h1>
880
881
882
def _map_to_ray_cluster(rc) -> Optional[RayCluster]:
883
- if "state" in rc["status"]:
+ if "status" in rc and "state" in rc["status"]:
884
status = RayClusterStatus(rc["status"]["state"].lower())
885
else:
886
status = RayClusterStatus.UNKNOWN
0 commit comments