Skip to content

Commit de1c04c

Browse files
authored
Merge pull request #22 from stainless-sdks/mh/drop-redundant-input-schema-patch
chore(types): drop redundant NotRequired on task_spec input_schema
2 parents cd0fd57 + b356c22 commit de1c04c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/parallel/types/task_spec_param.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from __future__ import annotations
44

55
from typing import Union, Optional
6-
from typing_extensions import TypeVar, Required, TypeAlias, TypedDict, NotRequired
6+
from typing_extensions import TypeVar, Required, TypeAlias, TypedDict
77

88
from pydantic import BaseModel
99

@@ -37,7 +37,7 @@ class TaskSpecParam(TypedDict, total=False):
3737
description.
3838
"""
3939

40-
input_schema: NotRequired[Optional[InputSchema]]
40+
input_schema: Optional[InputSchema]
4141
"""Optional JSON schema or text description of expected input to the task.
4242
4343
A bare string is equivalent to a text schema with the same description.

0 commit comments

Comments
 (0)