Skip to content

Commit 5d45443

Browse files
committed
fix: StorageObjectPublicUrlResponse ObjectResponseError
1 parent 64487c2 commit 5d45443

5 files changed

Lines changed: 23 additions & 23 deletions

File tree

go/github.com/jupyter-naas/naas-models/go/storage/storage.pb.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/storage.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ message StorageObjectPublicUrlRequest {
175175

176176
message StorageObjectPublicUrlResponse {
177177
optional string url = 1;
178-
optional ObjectStorageCredentialsResponseError error = 2;
178+
optional ObjectResponseError error = 2;
179179
}
180180

181181
service StorageService {

python/naas_models/pydantic/storage_p2p.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ class StorageObjectPublicUrlRequest(BaseModel):
138138

139139
class StorageObjectPublicUrlResponse(BaseModel):
140140
url: typing.Optional[str] = Field(default="")
141-
error: typing.Optional[ObjectStorageCredentialsResponseError] = Field(default=None)
141+
error: typing.Optional[ObjectResponseError] = Field(default=None)

python/naas_models/storage_pb2.py

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/naas_models/storage_pb2.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,5 +259,5 @@ class StorageObjectPublicUrlResponse(_message.Message):
259259
URL_FIELD_NUMBER: _ClassVar[int]
260260
ERROR_FIELD_NUMBER: _ClassVar[int]
261261
url: str
262-
error: ObjectStorageCredentialsResponseError
263-
def __init__(self, url: _Optional[str] = ..., error: _Optional[_Union[ObjectStorageCredentialsResponseError, _Mapping]] = ...) -> None: ...
262+
error: ObjectResponseError
263+
def __init__(self, url: _Optional[str] = ..., error: _Optional[_Union[ObjectResponseError, _Mapping]] = ...) -> None: ...

0 commit comments

Comments
 (0)