Fix empty object might be returned to the client for Google JSON credentials

This commit is contained in:
clearml 2025-06-04 11:51:41 +03:00
parent f3c67ac3fd
commit 98122690df

View File

@ -199,7 +199,7 @@ class StorageBLL:
) )
gs_dict = { gs_dict = {
"project": gs._default_project, "project": gs._default_project,
"credentials_json": gs._default_credentials, "credentials_json": gs._default_credentials or None,
"buckets": [attr.asdict(b) for b in gs._buckets], "buckets": [attr.asdict(b) for b in gs._buckets],
} }