Skip to content

Commit db144d3

Browse files
generatedunixname1228101065403401meta-codesync[bot]
authored andcommitted
Fix PYRE_STRICT issue in fbcode/aml/augly/video/augmenters/ffmpeg/audio_swap.py
Differential Revision: D104220637 fbshipit-source-id: 653031854ed23d83350517ad9ff64a86e946379b
1 parent 45cbe55 commit db144d3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

augly/video/augmenters/ffmpeg/audio_swap.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@
55
# This source code is licensed under the license found in the
66
# LICENSE file in the root directory of this source tree.
77

8+
# pyre-strict
9+
810
from augly.utils import pathmgr
911
from augly.video.augmenters.ffmpeg.base_augmenter import BaseVidgearFFMPEGAugmenter
1012
from augly.video.helpers import get_audio_info, get_video_info
1113

1214

1315
class VideoAugmenterByAudioSwap(BaseVidgearFFMPEGAugmenter):
16+
audio_path: str
17+
offset: float
18+
1419
def __init__(self, audio_path: str, offset: float) -> None:
1520
assert offset >= 0, "Offset cannot be a negative number"
1621

0 commit comments

Comments
 (0)