Skip to content

Commit c5d90a8

Browse files
authored
print app wrapper status if queued (#21)
* minor print issues with app wrapper * print app wrapper if job is queued Co-authored-by: Atin Sood <[email protected]>
1 parent f415794 commit c5d90a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/codeflare_sdk/cluster/cluster.py

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def is_ready(self, print_to_console=True):
7777
elif appwrapper.status in [AppWrapperStatus.PENDING]:
7878
ready = False
7979
status = CodeFlareClusterStatus.QUEUED
80+
if print_to_console:
81+
pretty_print.print_app_wrappers_status([appwrapper])
8082
return ready, status# no need to check the ray status since still in queue
8183

8284
# check the ray cluster status

0 commit comments

Comments
 (0)