code: def __init__(self, resolution: float):
      assert (
          isinstance(resolution, (int, float)) and resolution > 0.0
      ), "Invalid resolution: scale factor must be positive"
  
      self.resolution = resolution
  
imports: from typing import List
  from augly.video.augmenters.ffmpeg.base_augmenter import BaseVidgearFFMPEGAugmenter
label_desc: Use image node_id 1 to create a new VideoAugmenterByResolution object from inherited base classes: BaseVidgearFFMPEGAugmenter with example: obj = VideoAugmenterByResolution(resolution)