Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Aug 5, 2024
1 parent 08104be commit e925b7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sky/api/requests/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ def encode_enabled_clouds(clouds: List['clouds.Cloud']) -> List[str]:


@register_handler('storage_ls')
def encode_storage_ls(return_value: List[Dict[str, Any]]) -> List[str]:
def encode_storage_ls(
return_value: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
for storage_info in return_value:
storage_info['status'] = storage_info['status'].value
storage_info['store'] = [store.value for store in storage_info['store']]
Expand Down

0 comments on commit e925b7f

Please sign in to comment.