Skip to content

Commit c0d7aba

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@02e323a)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent 57f15d4 commit c0d7aba

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cosmotech_api/models/solution_update_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SolutionUpdateRequest(BaseModel):
3535
name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Solution name")
3636
description: Optional[StrictStr] = Field(default=None, description="The Solution description")
3737
repository: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The registry repository containing the image")
38-
always_pull: Optional[StrictBool] = Field(default=False, description="Set to true if the runtemplate wants to always pull the image", alias="alwaysPull")
38+
always_pull: Optional[StrictBool] = Field(default=None, description="Set to true if the runtemplate wants to always pull the image", alias="alwaysPull")
3939
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")
4040
url: Optional[StrictStr] = Field(default=None, description="An optional URL link to solution page")
4141
tags: Optional[List[StrictStr]] = Field(default=None, description="The list of tags")
@@ -120,7 +120,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
120120
"name": obj.get("name"),
121121
"description": obj.get("description"),
122122
"repository": obj.get("repository"),
123-
"alwaysPull": obj.get("alwaysPull") if obj.get("alwaysPull") is not None else False,
123+
"alwaysPull": obj.get("alwaysPull"),
124124
"version": obj.get("version"),
125125
"url": obj.get("url"),
126126
"tags": obj.get("tags"),

docs/SolutionUpdateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**name** | **str** | The Solution name | [optional]
1111
**description** | **str** | The Solution description | [optional]
1212
**repository** | **str** | The registry repository containing the image | [optional]
13-
**always_pull** | **bool** | Set to true if the runtemplate wants to always pull the image | [optional] [default to False]
13+
**always_pull** | **bool** | Set to true if the runtemplate wants to always pull the image | [optional]
1414
**version** | **str** | The Solution version MAJOR.MINOR.PATCH. Must be aligned with an existing repository tag | [optional]
1515
**url** | **str** | An optional URL link to solution page | [optional]
1616
**tags** | **List[str]** | The list of tags | [optional]

0 commit comments

Comments
 (0)