Skip to content

Commit b62ed35

Browse files
authored
feat: fix optional parameters (#376)
1 parent 26646c6 commit b62ed35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • server/mcp_server_vod/src/vod/mcp_tools

server/mcp_server_vod/src/vod/mcp_tools/edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ def mix_audios(audios: List[dict], space_name: str = None) -> dict:
955955
raise Exception("mix_audios: %s" % e, params)
956956

957957
@mcp.tool()
958-
def add_sub_video(video: dict, sub_video: dict, space_name: str, sub_options: Optional[dict] = None) -> dict:
958+
def add_sub_video(video: dict, sub_video: dict, space_name: str = None, sub_options: Optional[dict] = None) -> dict:
959959
"""
960960
`水印贴片`, `画中画`,Add the capability of video watermarking, support adjusting the width and height of the watermark, as well as the position in the horizontal or vertical direction, and determine the timing of the watermark's appearance in the original video by setting start_time and end_time,.
961961
Note:

0 commit comments

Comments
 (0)