def __init__(self, sub_competition, rank, team, year, wins, loses, ties, goals_for, goals_against, skill, oid=None): self.sub_competition = sub_competition Record.__init__(self, rank, team, year, wins, loses, ties, goals_for, goals_against, skill, oid)
def __init__(self, record): team_dto = TeamDTO.get_dto(record.team) Record.__init__(self, record.rank, team_dto, record.year, record.wins, record.loses, record.ties, record.goals_for, record.goals_against, record.skill, record.oid)