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):
64
64
""" Whether the task is enabled. """
65
65
failure_threshold : Optional [int ] = None
66
66
""" Maximum accepted percentage of failures for a task run to finish successfully. """
67
- action : ActionType
67
+ action : Optional [ ActionType ] = None
68
68
cursor : Optional [str ] = None
69
69
""" Date of the last cursor in RFC 3339 format. """
70
70
created_at : str
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class TaskV1(BaseModel):
58
58
""" Whether the task is enabled. """
59
59
failure_threshold : Optional [int ] = None
60
60
""" Maximum accepted percentage of failures for a task run to finish successfully. """
61
- action : ActionType
61
+ action : Optional [ ActionType ] = None
62
62
cursor : Optional [str ] = None
63
63
""" Date of the last cursor in RFC 3339 format. """
64
64
created_at : str
You can’t perform that action at this time.
0 commit comments