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
repository: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The registry repository containing the image")
41
41
always_pull: Optional[StrictBool] =Field(default=False, description="Set to true if the runtemplate wants to always pull the image", alias="alwaysPull")
42
-
csm_simulator: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The main Cosmo Tech simulator name used in standard Run Template", alias="csmSimulator")
43
42
version: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The Solution version MAJOR.MINOR.PATCH. Must be aligned with an existing repository tag")
44
43
owner_id: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The User id which owns this Solution", alias="ownerId")
45
44
sdk_version: Optional[StrictStr] =Field(default=None, description="The full SDK version used to build this solution, if available", alias="sdkVersion")
@@ -49,7 +48,7 @@ class Solution(BaseModel):
49
48
parameter_groups: List[RunTemplateParameterGroup] =Field(description="The list of parameters groups for the Run Templates", alias="parameterGroups")
50
49
run_templates: List[RunTemplate] =Field(description="List of Run Templates", alias="runTemplates")
Copy file name to clipboardExpand all lines: cosmotech_api/models/solution_create_request.py
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,13 @@ class SolutionCreateRequest(BaseModel):
38
38
repository: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The registry repository containing the image")
39
39
version: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The Solution version MAJOR.MINOR.PATCH")
40
40
always_pull: Optional[StrictBool] =Field(default=False, description="Set to true if the runtemplate wants to always pull the image", alias="alwaysPull")
41
-
csm_simulator: Annotated[str, Field(min_length=1, strict=True)] =Field(description="The main Cosmo Tech simulator name used in standard Run Template", alias="csmSimulator")
42
41
tags: Optional[List[StrictStr]] =Field(default=None, description="The list of tags")
43
42
parameters: Optional[List[RunTemplateParameterCreateRequest]] =Field(default=None, description="The list of Run Template Parameters")
44
43
parameter_groups: Optional[List[RunTemplateParameterGroupCreateRequest]] =Field(default=None, description="The list of parameters groups for the Run Templates", alias="parameterGroups")
45
44
run_templates: Optional[List[RunTemplateCreateRequest]] =Field(default=None, description="List of Run Templates", alias="runTemplates")
46
45
url: Optional[StrictStr] =Field(default=None, description="An optional URL link to solution page")
always_pull: Optional[StrictBool] =Field(default=False, description="Set to true if the runtemplate wants to always pull the image", alias="alwaysPull")
39
-
csm_simulator: Optional[Annotated[str, Field(min_length=1, strict=True)]] =Field(default=None, description="The main Cosmo Tech simulator name used in standard Run Template", alias="csmSimulator")
40
39
version: Optional[Annotated[str, Field(min_length=1, strict=True)]] =Field(default=None, description="The Solution version MAJOR.MINOR.PATCH. Must be aligned with an existing repository tag")
41
40
url: Optional[StrictStr] =Field(default=None, description="An optional URL link to solution page")
42
41
tags: Optional[List[StrictStr]] =Field(default=None, description="The list of tags")
43
42
parameters: Optional[List[RunTemplateParameterCreateRequest]] =Field(default=None, description="The list of Run Template Parameters")
44
43
parameter_groups: Optional[List[RunTemplateParameterGroupCreateRequest]] =Field(default=None, description="The list of parameters groups for the Run Templates", alias="parameterGroups")
45
44
run_templates: Optional[List[RunTemplateCreateRequest]] =Field(default=None, description="List of Run Templates", alias="runTemplates")
Copy file name to clipboardExpand all lines: docs/SolutionCreateRequest.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
12
12
**repository** | **str** | The registry repository containing the image |
13
13
**version** | **str** | The Solution version MAJOR.MINOR.PATCH |
14
14
**always_pull** | **bool** | Set to true if the runtemplate wants to always pull the image | [optional][default to False]
15
-
**csm_simulator** | **str** | The main Cosmo Tech simulator name used in standard Run Template |
16
15
**tags** | **List[str]** | The list of tags | [optional]
17
16
**parameters** | [**List[RunTemplateParameterCreateRequest]**](RunTemplateParameterCreateRequest.md) | The list of Run Template Parameters | [optional][default to []]
18
17
**parameter_groups** | [**List[RunTemplateParameterGroupCreateRequest]**](RunTemplateParameterGroupCreateRequest.md) | The list of parameters groups for the Run Templates | [optional][default to []]
0 commit comments