whist_core.scoring.team ======================= .. py:module:: whist_core.scoring.team .. autoapi-nested-parse:: DAO of team. Classes ------- .. autoapisummary:: whist_core.scoring.team.Team Module Contents --------------- .. py:class:: Team Bases: :py:obj:`pydantic.BaseModel` Data wrapper for a team. .. py:attribute:: players :type: list[whist_core.user.player.Player] .. py:method:: __hash__() Hash value of the team object. .. py:property:: rating :type: float The average Elo-Rating of the team members. :return: average team rating :rtype: float .. py:method:: games_played(amount = 1) Increases the games played counter for each team member. :param amount: The amount of new games played. Default 1 :type amount: int :return: None :rtype: None