Skip to content

Commit

Permalink
fix: Use Union for multiple Find & Replace types to extend support to…
Browse files Browse the repository at this point in the history
… <= 3.9 (#115)
  • Loading branch information
jkroll-deepgram authored Jul 24, 2023
1 parent 53ecb87 commit 3d932dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepgram/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class TranscriptionOptions(TypedDict, total=False):
dictation: bool
measurements: bool
smart_format: bool
replace: str | List[str]
replace: Union[str, List[str]]
tag: List[str]


Expand Down Expand Up @@ -387,7 +387,7 @@ class UsageOptions(TypedDict, total=False):
punctuate: bool
ner: bool
utterances: bool
replace: str | List[str]
replace: Union[str, List[str]]
profanity_filter: bool
keywords: bool
diarize: bool
Expand Down

0 comments on commit 3d932dd

Please sign in to comment.