Skip to content

Commit 6577335

Browse files
algolia-botmillotp
andcommitted
fix(specs): message is not required in WatchResponse (generated)
algolia/api-clients-automation#4723 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 9ccc6b5 commit 6577335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algoliasearch/ingestion/models/watch_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ class WatchResponse(BaseModel):
3737
WatchResponse
3838
"""
3939

40-
run_id: Optional[str] = None
40+
run_id: str
4141
""" Universally unique identifier (UUID) of a task run. """
4242
data: Optional[List[object]] = None
4343
""" when used with discovering or validating sources, the sampled data of your source is returned. """
4444
events: Optional[List[Event]] = None
4545
""" in case of error, observability events will be added to the response, if any. """
46-
message: str
46+
message: Optional[str] = None
4747
""" a message describing the outcome of a validate run. """
4848

4949
model_config = ConfigDict(

0 commit comments

Comments
 (0)