@@ -70,7 +70,7 @@ def main():
7070 ):
7171 config_count += 1
7272 print (f"- ID: { config .id } " )
73- print (f" Status: { config .status } " )
73+ print (f" Status: { config .status . value if config . status else None } " )
7474 print (f" Sequence: { config .sequence_number } " )
7575 print (f" Speculative: { config .speculative } " )
7676 print (f" Created: { config .created_at } " )
@@ -92,7 +92,7 @@ def main():
9292 stack_id = args .stack_id , options = create_opts
9393 )
9494 print (f"Created stack configuration: { config .id } " )
95- print (f" Status: { config .status } " )
95+ print (f" Status: { config .status . value if config . status else None } " )
9696 print (f" Speculative: { config .speculative } " )
9797 print (f" Sequence: { config .sequence_number } " )
9898 print (f" Created: { config .created_at } " )
@@ -105,7 +105,7 @@ def main():
105105 _print_header (f"Reading stack configuration: { args .id } " )
106106 config = client .stack_configurations .read (stack_configuration_id = args .id )
107107 print (f"ID: { config .id } " )
108- print (f"Status: { config .status } " )
108+ print (f"Status: { config .status . value if config . status else None } " )
109109 print (f"Sequence: { config .sequence_number } " )
110110 print (f"Speculative: { config .speculative } " )
111111 print (f"Created: { config .created_at } " )
0 commit comments