Пример #1
0
 def create_object(self, **kwargs):
     return TeamDTO(
         Team(kwargs["name"], kwargs["skill"], kwargs["active"],
              kwargs["id"]))
Пример #2
0
 def get_add_record(self):
     return CompetitionTeamDTO(
         CompetitionTeam(None, Team("team 1", 5, True)))