def METHOD_NAME(name):
    """
    Gets the scheduler associated with the given name
    Args:
        name (str): The name of the scheduler to return
    Returns:
        The scheduler with the given name or None if no scheduler has the name given.
    """
    schedulers = Scheduler.objects.filter(name=name).select_subclasses()
    if schedulers:
        return schedulers[0]