code: def __setattr__(self, name, value):
      if name == "frames" and self.media_type == fomm.VIDEO:
          self.set_field("frames", value)
          return
  
      self._secure_media(name, value)
      super().__setattr__(name, value)
  
imports: import os
  from bson import ObjectId
  from fiftyone.core.document import Document, DocumentView
  import fiftyone.core.frame
  import fiftyone.core.frame_utils
  import fiftyone.core.labels
  import fiftyone.core.metadata
  import fiftyone.core.media
  import fiftyone.core.odm
  import fiftyone.core.utils
  from fiftyone.core.singletons import SampleSingleton
label_desc: Use image node_id 2 for calling the _SampleMixin obj's underlying member method code with example usage: obj.__setattr__(name, value) without return types