django_gcp/storage/gcloud.py
def write(self, content):
        """Write to the file-like object"""
        if "w" not in self._mode:
            raise AttributeError("File was not opened in write mode.")
        self._is_dirty = True
        return super().write(to_bytes(content))
Write to the file-like object
Write to the file-like object
Write to the file - like object
def write(self, content):
        if "w" not in self._mode:
            raise AttributeError("File was not opened in write mode.")
        self._is_dirty = True
        return super().write(to_bytes(content))
def write ( self , content ) : if "w" not in self . _mode : raise AttributeError ( "File was not opened in write mode." ) self . _is_dirty = True return super ( ) . write ( to_bytes ( content ) )
Write to the file-like object
Write to the file - like object
"""Write to the file-like object"""
self
content