docs: def set_contents(self, stream, chunk_size=None, size=None, size_limit=None,
                       progress_callback=None, **kwargs):
          """Save contents of stream to this file.
  
          :param obj: ObjectVersion instance from where this file is accessed
              from.
          :param stream: File-like stream.
          """
          self.set_uri(
              *self.storage(**kwargs).save(
                  stream, chunk_size=chunk_size, size=size,
                  size_limit=size_limit, progress_callback=progress_callback))