Skip to content

Commit d2c4334

Browse files
Merge pull request #354 from dvonthenen/update-redact-live-options
Allow String/List for Redact on LiveOptions
2 parents c601e75 + 899b38d commit d2c4334

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)