Skip to content

Commit 39d0ac9

Browse files
committed
Merge branch 'dev' of https://github.com/jupyter-naas/naas-python into dev
2 parents 31d2474 + 3867039 commit 39d0ac9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

naas_python/domains/storage/adaptors/primary/SDKStorageAdaptor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def post_workspace_storage_object(self,
8282
)
8383
return response
8484
else:
85-
raise FileNotFoundError(f"File '{src_file}' does not exist.")
85+
raise FileNotFoundError(f"File not found: {src_file}")
8686

8787
def get_workspace_storage_object(self,
8888
workspace_id: str = "",

naas_python/domains/storage/adaptors/secondary/NaasStorageAPIAdaptor.py

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def delete_workspace_storage_object(self,
105105
)
106106
return self.__handle_response(api_response)
107107

108+
@BaseAPIAdaptor.service_status_decorator
108109
def generate_credentials(self, workspace_id :str, storage_name: str) -> dict:
109110

110111
_url = f"{self.host}/workspace/{workspace_id}/storage/credentials/"

0 commit comments

Comments
 (0)