def delete_file(fileobj):
    """
    Alias to delete a file from storage
    :param fileobj: 
    :return: 
    """
    if not isinstance(fileobj, (flask_cloudy.Object, mocha_db.StorageObject)):
        raise TypeError("Invalid file type. Must be of flask_cloudy.Object")
    return signals.delete_file(lambda: fileobj.delete())
def delete_file ( fileobj ) : if not isinstance ( fileobj , ( flask_cloudy . Object , mocha_db . StorageObject ) ) : raise TypeError ( "Invalid file type. Must be of flask_cloudy.Object" ) return signals . delete_file ( lambda : fileobj . delete ( ) )
Alias to delete a file from storage
    :param fileobj: 
    :return: