Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m-alisafaee committed Jul 8, 2024
1 parent 21c29eb commit e9ae4e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion renku_notebooks/api/notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def _on_error(error_msg):
request_data = {
"name": f"{server_name}-saved-storage-secrets",
"namespace": server.k8s_client.preferred_namespace,
"secret_ids": saved_storage_secret_ids,
"secret_ids": list(saved_storage_secret_ids),
"owner_references": [owner_reference],
"keys_property": "id",
}
Expand Down
2 changes: 1 addition & 1 deletion renku_notebooks/api/schemas/cloud_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Meta:
source_path: Optional[str] = fields.Str()
target_path: Optional[str] = fields.Str()
configuration: Optional[dict[str, Any]] = fields.Dict(
keys=fields.Str(), values=fields.Raw(), load_default=None, allow_none=True
keys=fields.Str(), values=fields.Raw(), load_default=dict, allow_none=True
)
storage_id: Optional[str] = fields.Str(load_default=None, allow_none=True)
readonly: bool = fields.Bool(load_default=True, allow_none=False)
Expand Down

0 comments on commit e9ae4e2

Please sign in to comment.