(self, in_fileobj, key)
Streams content from ``in_fileobj`` to a tar gzip file.

        .. NOTE::
            ``copy_blob()`` does not include BlobMeta. In order to
            rebuild the blob DB in another environment, you will also
            need to use the ``dump_domain_data`` management command.
Streams content from ``in_fileobj`` to a tar gzip file.
Streams content from in_fileobj to a tar gzip file .
def copy_blob(self, in_fileobj, key):
        """
        Streams content from ``in_fileobj`` to a tar gzip file.

        .. NOTE::
            ``copy_blob()`` does not include BlobMeta. In order to
            rebuild the blob DB in another environment, you will also
            need to use the ``dump_domain_data`` management command.

        """
        tarinfo = tarfile.TarInfo(name=key)
        tarinfo.size = in_fileobj.content_length
        self._tgzfile.addfile(tarinfo, in_fileobj)
def copy_blob ( self , in_fileobj , key ) : tarinfo = tarfile . TarInfo ( name = key ) tarinfo . size = in_fileobj . content_length self . _tgzfile . addfile ( tarinfo , in_fileobj )