class_docstr: Base class for storing metadata about generic samples.
  
  Args:
      size_bytes (None): the size of the media, in bytes
      mime_type (None): the MIME type of the media
code: def _build_for_local(cls, filepath, mime_type=None):
      if mime_type is None:
          mime_type = etau.guess_mime_type(filepath)
  
      size_bytes = os.path.getsize(filepath)
  
      return cls(size_bytes=size_bytes, mime_type=mime_type)
  
imports: import itertools
  import logging
  import multiprocessing.dummy
  import os
  import requests
  from PIL import Image
  import eta.core.utils
  import eta.core.video
  import fiftyone
  from fiftyone.core.odm import DynamicEmbeddedDocument
  import fiftyone.core.fields
  import fiftyone.core.media
  import fiftyone.core.utils
label_desc: Use image node_id 2 for calling the Metadata obj's underlying member method code with example usage: obj._build_for_local(cls, filepath, mime_type) and returns: cls