def compute_schedules(courses=None, excluded_times=(), free_sections_only=True, problem=None, return_generator=False, section_constraint=None):
    """
    Returns all possible schedules for the given courses.
    """
    s = Scheduler(free_sections_only, problem, constraint=section_constraint)
    s.exclude_times(*tuple(excluded_times))
    return s.find_schedules(courses, return_generator)
def compute_schedules ( courses = None , excluded_times = ( ) , free_sections_only = True , problem = None , return_generator = False , section_constraint = None ) : s = Scheduler ( free_sections_only , problem , constraint = section_constraint ) s . exclude_times ( * tuple ( excluded_times ) ) return s . find_schedules ( courses , return_generator )
Returns all possible schedules for the given courses.