Skip to content

Commit 3db0222

Browse files
fix: remove double brackets from timestamp_granularities param (#1140)
1 parent 79c8f0e commit 3db0222

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/openai/types/audio/transcription_create_params.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
from __future__ import annotations
44

55
from typing import List, Union
6-
from typing_extensions import Literal, Required, Annotated, TypedDict
6+
from typing_extensions import Literal, Required, TypedDict
77

88
from ..._types import FileTypes
9-
from ..._utils import PropertyInfo
109

1110
__all__ = ["TranscriptionCreateParams"]
1211

@@ -52,9 +51,7 @@ class TranscriptionCreateParams(TypedDict, total=False):
5251
automatically increase the temperature until certain thresholds are hit.
5352
"""
5453

55-
timestamp_granularities: Annotated[
56-
List[Literal["word", "segment"]], PropertyInfo(alias="timestamp_granularities[]")
57-
]
54+
timestamp_granularities: List[Literal["word", "segment"]]
5855
"""The timestamp granularities to populate for this transcription.
5956
6057
Any of these options: `word`, or `segment`. Note: There is no additional latency

0 commit comments

Comments
 (0)