@run_if('GOOGLE_APPS')
def create_folder_with_permissions(parent_id, folder_name, permissions=None):
    service = Service(settings.GOOGLE_P12_PATH,
                      settings.GOOGLE_SERVICE_EMAIL)
    folder = service.insert_folder(folder_name, parent_id)
    if folder is None:
        raise GoogleDriveError('Could not create a folder')

    permissions = permissions or []
    for permission in permissions:
        service.add_permission(folder.get('id'),
                               permission)

    return folder
Given a function, a SQL string, a tuple, and a function, return ???.
dataset/ETHPy150Open unlimitedlabs/orchestra/orchestra/google_apps/convenience.py/create_folder_with_permissions--crossover with--dataset/ETHPy150Open gratipay/gratipay.com/gratipay/utils/query_cache.py/QueryCache._do_query