Skip to content

Commit cd5c961

Browse files
committed
Better way
1 parent 5953c3c commit cd5c961

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/elevenlabs/music_custom.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def compose_detailed( # type: ignore[override]
5151
with_timestamps: typing.Optional[bool] = OMIT,
5252
sign_with_c2pa: typing.Optional[bool] = OMIT,
5353
request_options: typing.Optional[RequestOptions] = None,
54+
**kwargs: typing.Any,
5455
) -> MultipartResponse:
5556
"""
5657
Compose a song from a prompt or a composition plan with detailed response parsing.
@@ -70,6 +71,7 @@ def compose_detailed( # type: ignore[override]
7071
with_timestamps=with_timestamps,
7172
sign_with_c_2_pa=sign_with_c2pa,
7273
request_options=request_options,
74+
**kwargs,
7375
)
7476

7577
# Parse the stream using the parsing method
@@ -185,6 +187,7 @@ async def compose_detailed( # type: ignore[override]
185187
with_timestamps: typing.Optional[bool] = OMIT,
186188
sign_with_c2pa: typing.Optional[bool] = OMIT,
187189
request_options: typing.Optional[RequestOptions] = None,
190+
**kwargs: typing.Any,
188191
) -> MultipartResponse:
189192
"""
190193
Compose a song from a prompt or a composition plan with detailed response parsing.
@@ -204,6 +207,7 @@ async def compose_detailed( # type: ignore[override]
204207
with_timestamps=with_timestamps,
205208
sign_with_c_2_pa=sign_with_c2pa,
206209
request_options=request_options,
210+
**kwargs,
207211
)
208212

209213
# Parse the stream using the parsing method

0 commit comments

Comments
 (0)