'Add a team configuration to the course.'

def add_team_configuration(self, max_team_size=3, topics=None):

    teams_configuration = {}
    teams_configuration['topics'] = ([] if (topics is None) else topics)
    if (max_team_size is not None):
        teams_configuration['max_team_size'] = max_team_size
    self.course.teams_configuration = teams_configuration
