Skip to content

Commit

Permalink
Add type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonghwanhyeon committed Jan 9, 2024
1 parent 1023db4 commit 7ca7989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffmpeg/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def output(
self._options.output(url, options, **kwargs)
return self

def execute(self, timeout=None, stream: Optional[Union[bytes, IO[bytes]]] = None) -> bytes:
def execute(self, timeout: Optional[float] = None, stream: Optional[Union[bytes, IO[bytes]]] = None) -> bytes:
"""Execute FFmpeg using specified global options and files.
Args:
Expand Down

0 comments on commit 7ca7989

Please sign in to comment.