Skip to content

Commit 899b38d

Browse files
Allow String/List for Redact on LiveOptions
1 parent c601e75 commit 899b38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepgram/clients/live/v1/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class LiveOptions:
7272
profanity_filter: Optional[bool] = field(
7373
default=None, metadata=config(exclude=lambda f: f is None)
7474
)
75-
redact: Optional[bool] = field(
75+
redact: Optional[Union[List[str], bool, str]] = field(
7676
default=None, metadata=config(exclude=lambda f: f is None)
7777
)
7878
replace: Optional[str] = field(

0 commit comments

Comments
 (0)