pgcontents/pgmanager.py
def _save_file(self, db, model, path):
        """
        Save a non-notebook file.
        """
        save_file(
            db,
            self.user_id,
            path,
            to_b64(model['content'], model.get('format', None)),
            self.crypto.encrypt,
            self.max_file_size_bytes,
        )
        return None
def _save_file(self, db, model, path):
        save_file(
            db,
            self.user_id,
            path,
            to_b64(model['content'], model.get('format', None)),
            self.crypto.encrypt,
            self.max_file_size_bytes,
        )
        return None
def _save_file ( self , db , model , path ) : save_file ( db , self . user_id , path , to_b64 ( model [ 'content' ] , model . get ( 'format' , None ) ) , self . crypto . encrypt , self . max_file_size_bytes , ) return None
Save a non-notebook file.
Save a non - notebook file .