You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python-restclient/docs/BioModelResourceApi.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -346,7 +346,7 @@ No authorization required
346
346
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
body ='body_example'# str | BioModelVCML which will be saved.
378
+
new_name ='new_name_example'# str | Name to save new BioModel under. Leave blank if re-saving existing BioModel. (optional)
379
+
sims_requiring_updates = ['sims_requiring_updates_example'] # List[str] | The name of simulations that will be prepared for future execution. (optional)
379
380
380
381
try:
381
382
# Save's the given BioModel. Optional parameters of name and simulations to update due to math changes. Returns saved BioModel as VCML.
body: Annotated[StrictStr, Field(description="BioModelVCML which will be saved.")],
1375
+
new_name: Annotated[Optional[StrictStr], Field(description="Name to save new BioModel under. Leave blank if re-saving existing BioModel.")] =None,
1376
+
sims_requiring_updates: Annotated[Optional[List[StrictStr]], Field(description="The name of simulations that will be prepared for future execution.")] =None,
1376
1377
_request_timeout: Union[
1377
1378
None,
1378
1379
Annotated[StrictFloat, Field(gt=0)],
@@ -1389,8 +1390,12 @@ def save_bio_model(
1389
1390
"""Save's the given BioModel. Optional parameters of name and simulations to update due to math changes. Returns saved BioModel as VCML.
1390
1391
1391
1392
1392
-
:param save_bio_model:
1393
-
:type save_bio_model: SaveBioModel
1393
+
:param body: BioModelVCML which will be saved. (required)
1394
+
:type body: str
1395
+
:param new_name: Name to save new BioModel under. Leave blank if re-saving existing BioModel.
1396
+
:type new_name: str
1397
+
:param sims_requiring_updates: The name of simulations that will be prepared for future execution.
1398
+
:type sims_requiring_updates: List[str]
1394
1399
:param _request_timeout: timeout setting for this request. If one
1395
1400
number provided, it will be total request
1396
1401
timeout. It can also be a pair (tuple) of
@@ -1414,7 +1419,9 @@ def save_bio_model(
1414
1419
"""# noqa: E501
1415
1420
1416
1421
_param=self._save_bio_model_serialize(
1417
-
save_bio_model=save_bio_model,
1422
+
body=body,
1423
+
new_name=new_name,
1424
+
sims_requiring_updates=sims_requiring_updates,
1418
1425
_request_auth=_request_auth,
1419
1426
_content_type=_content_type,
1420
1427
_headers=_headers,
@@ -1443,7 +1450,9 @@ def save_bio_model(
1443
1450
@validate_call
1444
1451
defsave_bio_model_with_http_info(
1445
1452
self,
1446
-
save_bio_model: Optional[SaveBioModel] =None,
1453
+
body: Annotated[StrictStr, Field(description="BioModelVCML which will be saved.")],
1454
+
new_name: Annotated[Optional[StrictStr], Field(description="Name to save new BioModel under. Leave blank if re-saving existing BioModel.")] =None,
1455
+
sims_requiring_updates: Annotated[Optional[List[StrictStr]], Field(description="The name of simulations that will be prepared for future execution.")] =None,
body: Annotated[StrictStr, Field(description="BioModelVCML which will be saved.")],
1533
+
new_name: Annotated[Optional[StrictStr], Field(description="Name to save new BioModel under. Leave blank if re-saving existing BioModel.")] =None,
1534
+
sims_requiring_updates: Annotated[Optional[List[StrictStr]], Field(description="The name of simulations that will be prepared for future execution.")] =None,
0 commit comments