Skip to content

Commit bb7731a

Browse files
authored
Merge pull request #1126 from ddboline/make-task-results-from-optional
Fix type of from field in TaskResults so get_tasks doesn't crash
2 parents d79f4ab + 9cbf6c2 commit bb7731a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meilisearch/models/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class TaskResults(CamelBase):
110110
results: List[Task]
111111
limit: int
112112
total: int
113-
from_: int
113+
from_: Optional[int]
114114
next_: Optional[int]
115115

116116

0 commit comments

Comments
 (0)