Skip to content

Commit ea71e52

Browse files
algolia-botmillotp
andcommitted
fix(specs): make the updateAt non-null in ingestion (generated)
algolia/api-clients-automation#4697 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 128b062 commit ea71e52

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

Diff for: algoliasearch/ingestion/models/authentication.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Authentication(BaseModel):
5454
input: AuthInputPartial
5555
created_at: str
5656
""" Date of creation in RFC 3339 format. """
57-
updated_at: Optional[str] = None
57+
updated_at: str
5858
""" Date of last update in RFC 3339 format. """
5959

6060
model_config = ConfigDict(

Diff for: algoliasearch/ingestion/models/destination.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Destination(BaseModel):
5353
input: DestinationInput
5454
created_at: str
5555
""" Date of creation in RFC 3339 format. """
56-
updated_at: Optional[str] = None
56+
updated_at: str
5757
""" Date of last update in RFC 3339 format. """
5858
authentication_id: Optional[str] = None
5959
""" Universally unique identifier (UUID) of an authentication resource. """

Diff for: algoliasearch/ingestion/models/source.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Source(BaseModel):
5353
""" Universally unique identifier (UUID) of an authentication resource. """
5454
created_at: str
5555
""" Date of creation in RFC 3339 format. """
56-
updated_at: Optional[str] = None
56+
updated_at: str
5757
""" Date of last update in RFC 3339 format. """
5858

5959
model_config = ConfigDict(

Diff for: algoliasearch/ingestion/models/task.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Task(BaseModel):
8080
policies: Optional[Policies] = None
8181
created_at: str
8282
""" Date of creation in RFC 3339 format. """
83-
updated_at: Optional[str] = None
83+
updated_at: str
8484
""" Date of last update in RFC 3339 format. """
8585

8686
model_config = ConfigDict(

Diff for: algoliasearch/ingestion/models/task_v1.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class TaskV1(BaseModel):
6969
policies: Optional[Policies] = None
7070
created_at: str
7171
""" Date of creation in RFC 3339 format. """
72-
updated_at: Optional[str] = None
72+
updated_at: str
7373
""" Date of last update in RFC 3339 format. """
7474

7575
model_config = ConfigDict(

Diff for: algoliasearch/ingestion/models/transformation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Transformation(BaseModel):
5353
""" Owner of the resource. """
5454
created_at: str
5555
""" Date of creation in RFC 3339 format. """
56-
updated_at: Optional[str] = None
56+
updated_at: str
5757
""" Date of last update in RFC 3339 format. """
5858

5959
model_config = ConfigDict(

Diff for: algoliasearch/ingestion/models/transformation_try_response.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class TransformationTryResponse(BaseModel):
3535
TransformationTryResponse
3636
"""
3737

38-
payloads: List[object]
39-
""" The array of records returned by the transformation service. """
38+
payloads: List[str]
39+
""" The array of stringified records returned by the transformation service. """
4040
error: Optional[TransformationError] = None
4141

4242
model_config = ConfigDict(

0 commit comments

Comments
 (0)