File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
packages/models-library/src/models_library
services/web/server/src/simcore_service_webserver/api/v0 Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11from dataclasses import dataclass
2- from typing import Annotated , Any
2+ from typing import Annotated
33
44from models_library .generics import Envelope
55from pydantic import BaseModel , ConfigDict , Field
@@ -105,7 +105,7 @@ class ErrorGet(BaseModel):
105105 )
106106
107107
108- class EnvelopedError (Envelope [Any ]):
108+ class EnvelopedError (Envelope [None ]):
109109 error : ErrorGet # type: ignore
110110
111111 model_config = ConfigDict (
Original file line number Diff line number Diff line change @@ -9247,9 +9247,7 @@ components:
92479247 EnvelopedError :
92489248 properties :
92499249 data :
9250- anyOf :
9251- - {}
9252- - type : ' null'
9250+ type : ' null'
92539251 title : Data
92549252 error :
92559253 $ref : ' #/components/schemas/ErrorGet'
You can’t perform that action at this time.
0 commit comments