File tree Expand file tree Collapse file tree
clients/python/src/osparc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 86558655 ],
86568656 "title" : " ClientFileUploadData"
86578657 },
8658+ "ErrorDict" : {
8659+ "properties" : {
8660+ "loc" : {
8661+ "items" : {
8662+ "anyOf" : [
8663+ {
8664+ "type" : " integer"
8665+ },
8666+ {
8667+ "type" : " string"
8668+ }
8669+ ]
8670+ },
8671+ "type" : " array" ,
8672+ "title" : " Loc"
8673+ },
8674+ "msg" : {
8675+ "type" : " string" ,
8676+ "title" : " Msg"
8677+ },
8678+ "type" : {
8679+ "type" : " string" ,
8680+ "title" : " Type"
8681+ },
8682+ "ctx" : {
8683+ "additionalProperties" : true ,
8684+ "type" : " object" ,
8685+ "title" : " Ctx"
8686+ }
8687+ },
8688+ "type" : " object" ,
8689+ "required" : [
8690+ " loc" ,
8691+ " msg" ,
8692+ " type"
8693+ ],
8694+ "title" : " ErrorDict" ,
8695+ "description" : " Structured dataset returned by pydantic's ValidationError.errors() -> List[ErrorDict]"
8696+ },
86588697 "ErrorGet" : {
86598698 "properties" : {
86608699 "errors" : {
88868925 ],
88878926 "title" : " GetCreditPriceLegacy"
88888927 },
8928+ "GroupID" : {
8929+ "type" : " integer" ,
8930+ "exclusiveMinimum" : 0
8931+ },
88898932 "Groups" : {
88908933 "properties" : {
88918934 "me" : {
91909233 },
91919234 "metadata" : {
91929235 "additionalProperties" : {
9193- "anyOf" : [
9194- {
9195- "type" : " boolean"
9196- },
9197- {
9198- "type" : " integer"
9199- },
9200- {
9201- "type" : " number"
9202- },
9203- {
9204- "type" : " string"
9205- }
9206- ]
9236+ "$ref" : " #/components/schemas/MetaValueType"
92079237 },
92089238 "type" : " object" ,
92099239 "title" : " Metadata" ,
92479277 "properties" : {
92489278 "metadata" : {
92499279 "additionalProperties" : {
9250- "anyOf" : [
9251- {
9252- "type" : " boolean"
9253- },
9254- {
9255- "type" : " integer"
9256- },
9257- {
9258- "type" : " number"
9259- },
9260- {
9261- "type" : " string"
9262- }
9263- ]
9280+ "$ref" : " #/components/schemas/MetaValueType"
92649281 },
92659282 "type" : " object" ,
92669283 "title" : " Metadata" ,
93489365 "$ref" : " #/components/schemas/RunningState"
93499366 },
93509367 "progress" : {
9351- "type" : " integer" ,
9352- "maximum" : 100 ,
9353- "minimum" : 0 ,
9354- "title" : " Progress" ,
9368+ "$ref" : " #/components/schemas/PercentageInt" ,
93559369 "default" : 0
93569370 },
93579371 "submitted_at" : {
93859399 ],
93869400 "title" : " Stopped At" ,
93879401 "description" : " Timestamp at which the solver finished or killed execution or None if the event did not occur"
9402+ },
9403+ "errors" : {
9404+ "anyOf" : [
9405+ {
9406+ "items" : {
9407+ "$ref" : " #/components/schemas/ErrorDict"
9408+ },
9409+ "type" : " array"
9410+ },
9411+ {
9412+ "type" : " null"
9413+ }
9414+ ],
9415+ "title" : " Errors" ,
9416+ "description" : " Error details when the job state is FAILED"
93889417 }
93899418 },
93909419 "type" : " object" ,
98869915 "version" : " 2.4.45"
98879916 }
98889917 },
9918+ "MetaValueType" : {
9919+ "anyOf" : [
9920+ {
9921+ "type" : " boolean"
9922+ },
9923+ {
9924+ "type" : " integer"
9925+ },
9926+ {
9927+ "type" : " number"
9928+ },
9929+ {
9930+ "type" : " string"
9931+ }
9932+ ]
9933+ },
98899934 "OnePage_SolverPort_" : {
98909935 "properties" : {
98919936 "items" : {
1049310538 ],
1049410539 "title" : " Page[Study]"
1049510540 },
10541+ "PercentageInt" : {
10542+ "type" : " integer" ,
10543+ "maximum" : 100 ,
10544+ "minimum" : 0
10545+ },
1049610546 "PricingPlanClassification" : {
1049710547 "type" : " string" ,
1049810548 "enum" : [
1268112731 "title" : " Description"
1268212732 },
1268312733 "owner" : {
12684- "type" : " integer" ,
12685- "exclusiveMinimum" : 0 ,
12686- "title" : " Owner"
12734+ "$ref" : " #/components/schemas/GroupID"
1268712735 },
1268812736 "thumbnail" : {
1268912737 "anyOf" : [
Original file line number Diff line number Diff line change 3939from osparc_client .models .one_page_study_port import (
4040 OnePageStudyPort as OnePageStudyPort ,
4141)
42- from osparc_client import MetadataValue as MetadataValue
4342from osparc_client .models .page_file import PageFile as PageFile
4443from osparc_client .models .page_job import PageJob as PageJob
4544from osparc_client .models .page_study import PageStudy as PageStudy
4645from osparc_client .models .pricing_plan_classification import (
4746 PricingPlanClassification as PricingPlanClassification ,
4847)
48+ from osparc_client .models .meta_value_type import MetaValueType as MetaValueType
49+
4950from osparc_client .models .profile import Profile as Profile
5051from osparc_client .models .profile_update import ProfileUpdate as ProfileUpdate
5152from osparc_client .models .running_state import RunningState as _RunningState
6768
6869# renames
6970TaskStates = _RunningState
71+ MetadataValue = MetaValueType # backwards compatibility https://github.com/ITISFoundation/osparc-simcore-clients/pull/248
You can’t perform that action at this time.
0 commit comments