Skip to content

Commit a44112e

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@9f72e07)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent b3299d0 commit a44112e

20 files changed

Lines changed: 28 additions & 28 deletions

cosmotech_api/models/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Dataset(BaseModel):
3232
Dataset object
3333
""" # noqa: E501
3434
id: Annotated[str, Field(strict=True)]
35-
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
35+
name: Annotated[str, Field(min_length=1, strict=True)]
3636
description: Optional[StrictStr] = None
3737
organization_id: StrictStr = Field(description="the associated Organization Id", alias="organizationId")
3838
workspace_id: StrictStr = Field(description="the associated Workspace Id", alias="workspaceId")

cosmotech_api/models/dataset_create_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DatasetCreateRequest(BaseModel):
3030
"""
3131
Dataset creation request
3232
""" # noqa: E501
33-
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
33+
name: Annotated[str, Field(min_length=1, strict=True)]
3434
description: Optional[StrictStr] = None
3535
tags: Optional[List[StrictStr]] = None
3636
additional_data: Optional[Dict[str, Any]] = Field(default=None, description="Free form additional data", alias="additionalData")

cosmotech_api/models/dataset_part.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class DatasetPart(BaseModel):
3131
Dataset part object
3232
""" # noqa: E501
3333
id: Annotated[str, Field(strict=True)]
34-
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
34+
name: Annotated[str, Field(min_length=1, strict=True)]
3535
source_name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
3636
description: Optional[StrictStr] = None
3737
tags: List[StrictStr]

cosmotech_api/models/dataset_part_create_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DatasetPartCreateRequest(BaseModel):
2929
"""
3030
Dataset part create request object
3131
""" # noqa: E501
32-
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
32+
name: Annotated[str, Field(min_length=1, strict=True)]
3333
source_name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
3434
description: Optional[StrictStr] = None
3535
tags: Optional[List[StrictStr]] = None

cosmotech_api/models/dataset_update_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DatasetUpdateRequest(BaseModel):
3030
"""
3131
Dataset creation request
3232
""" # noqa: E501
33-
name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = None
33+
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = None
3434
description: Optional[StrictStr] = None
3535
tags: Optional[List[StrictStr]] = None
3636
additional_data: Optional[Dict[str, Any]] = Field(default=None, description="Free form additional data", alias="additionalData")

cosmotech_api/models/organization_create_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class OrganizationCreateRequest(BaseModel):
2929
"""
3030
Request object for creating a new organization
3131
""" # noqa: E501
32-
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Organization name")
32+
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The Organization name")
3333
security: Optional[OrganizationSecurity] = None
3434
__properties: ClassVar[List[str]] = ["name", "security"]
3535

cosmotech_api/models/organization_update_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class OrganizationUpdateRequest(BaseModel):
2828
"""
2929
Request object for updating an organization
3030
""" # noqa: E501
31-
name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Organization name")
31+
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The Organization name")
3232
__properties: ClassVar[List[str]] = ["name"]
3333

3434
model_config = ConfigDict(

cosmotech_api/models/run_template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class RunTemplate(BaseModel):
2929
"""
3030
A Solution Run Template
3131
""" # noqa: E501
32-
id: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Solution Run Template id")
33-
name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Run Template name")
32+
id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The Solution Run Template id")
33+
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The Run Template name")
3434
labels: Optional[Dict[str, StrictStr]] = Field(default=None, description="A translated label with key as ISO 639-1 code")
3535
description: Optional[StrictStr] = Field(default=None, description="The Run Template description")
3636
tags: Optional[List[StrictStr]] = Field(default=None, description="The list of Run Template tags")

cosmotech_api/models/run_template_create_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class RunTemplateCreateRequest(BaseModel):
2929
"""
3030
A Solution Run Template Create Request
3131
""" # noqa: E501
32-
id: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Solution Run Template id")
33-
name: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Run Template name")
32+
id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The Solution Run Template id")
33+
name: Optional[Annotated[str, Field(min_length=1, strict=True)]] = Field(default=None, description="The Run Template name")
3434
labels: Optional[Dict[str, StrictStr]] = Field(default=None, description="A translated label with key as ISO 639-1 code")
3535
description: Optional[StrictStr] = Field(default=None, description="The Run Template description")
3636
tags: Optional[List[StrictStr]] = Field(default=None, description="The list of Run Template tags")

cosmotech_api/models/run_template_parameter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class RunTemplateParameter(BaseModel):
2828
"""
2929
A Run Template Parameter
3030
""" # noqa: E501
31-
id: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Parameter id")
31+
id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The Parameter id")
3232
description: Optional[StrictStr] = Field(default=None, description="The parameter description")
3333
labels: Optional[Dict[str, StrictStr]] = Field(default=None, description="A translated label with key as ISO 639-1 code")
3434
var_type: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The variable type for the parameter. Basic types or special type %DATASETID%", alias="varType")

0 commit comments

Comments
 (0)