File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def to_file(
3636 self ,
3737 dest : Union [str , Path ],
3838 * ,
39- codec : str = None ,
39+ codec : Optional [ str ] = None ,
4040 pixel_format : Optional [str ] = None ,
4141 crf : Optional [int ] = None ,
4242 preset : Optional [Union [str , int ]] = None ,
@@ -75,7 +75,7 @@ def to_tensor(
7575 self ,
7676 format : str ,
7777 * ,
78- codec : str = None ,
78+ codec : Optional [ str ] = None ,
7979 pixel_format : Optional [str ] = None ,
8080 crf : Optional [int ] = None ,
8181 preset : Optional [Union [str , int ]] = None ,
@@ -118,7 +118,7 @@ def to_file_like(
118118 file_like ,
119119 format : str ,
120120 * ,
121- codec : str = None ,
121+ codec : Optional [ str ] = None ,
122122 pixel_format : Optional [str ] = None ,
123123 crf : Optional [int ] = None ,
124124 preset : Optional [Union [str , int ]] = None ,
You can’t perform that action at this time.
0 commit comments