Skip to content

Commit 63426cc

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@7079a8d)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent 21ff206 commit 63426cc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cosmotech_api/models/dataset_part.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class DatasetPart(BaseModel):
3232
""" # noqa: E501
3333
id: Annotated[str, Field(strict=True)]
3434
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
35-
source_name: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
35+
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]
3838
type: DatasetPartTypeEnum

cosmotech_api/models/dataset_part_create_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DatasetPartCreateRequest(BaseModel):
3030
Dataset part create request object
3131
""" # noqa: E501
3232
name: Annotated[str, Field(min_length=1, strict=True, max_length=50)]
33-
source_name: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="the source data name (e.g. filename associated to the dataset part)", alias="sourceName")
33+
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
3636
type: Optional[DatasetPartTypeEnum] = DatasetPartTypeEnum.RELATIONAL

cosmotech_api/models/dataset_part_update_request.py

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

0 commit comments

Comments
 (0)