File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
algoliasearch/ingestion/models Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class Task(BaseModel):
6464 """ Whether the task is enabled. """
6565 failure_threshold : Optional [int ] = None
6666 """ Maximum accepted percentage of failures for a task run to finish successfully. """
67- action : ActionType
67+ action : Optional [ ActionType ] = None
6868 cursor : Optional [str ] = None
6969 """ Date of the last cursor in RFC 3339 format. """
7070 created_at : str
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class TaskV1(BaseModel):
5858 """ Whether the task is enabled. """
5959 failure_threshold : Optional [int ] = None
6060 """ Maximum accepted percentage of failures for a task run to finish successfully. """
61- action : ActionType
61+ action : Optional [ ActionType ] = None
6262 cursor : Optional [str ] = None
6363 """ Date of the last cursor in RFC 3339 format. """
6464 created_at : str
You can’t perform that action at this time.
0 commit comments