Skip to content

Commit 4f6659c

Browse files
fix: steps should be not-required
1 parent cc0ab83 commit 4f6659c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jigsawstack/prediction.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Any, Dict, List, Union, cast
22

3-
from typing_extensions import TypedDict
3+
from typing_extensions import NotRequired, TypedDict
44

55
from ._config import ClientConfig
66
from ._types import BaseResponse
@@ -25,9 +25,9 @@ class PredictionParams(TypedDict):
2525
"""
2626
The dataset to make predictions on. This is an array of object with keys date and value. See example below for more information.
2727
"""
28-
steps: int
28+
steps: NotRequired[int]
2929
"""
30-
The number of predictions to make. The default is 5.
30+
The number of predictions to make. Min: 1, Max: 500. Default: 5.
3131
"""
3232

3333

0 commit comments

Comments
 (0)