def _cleanup_markers(context_id, task_ids):

    logging.debug("Cleanup %d markers for Context %s",
                  len(task_ids), context_id)

    # TODO: Handle exceptions and retries here.
    delete_entities = [ndb.Key(FuriousAsyncMarker, id) for id in task_ids]
    delete_entities.append(ndb.Key(FuriousCompletionMarker, context_id))

    ndb.delete_multi(delete_entities)

    logging.debug("Markers cleaned.")
A function to list a specific virtual.
dataset/ETHPy150Open Workiva/furious/furious/extras/appengine/ndb_persistence.py/_cleanup_markers--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/bigip.py/list_virtual