:py:mod:`whist_core.scoring.team` ================================= .. py:module:: whist_core.scoring.team .. autoapi-nested-parse:: DAO of team. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: whist_core.scoring.team.Team .. py:class:: Team Bases: :py:obj:`pydantic.BaseModel` Data wrapper for a team. .. py:property:: rating :type: float The average Elo-Rating of the team members. :return: average team rating :rtype: float .. py:attribute:: players :type: list[whist_core.user.player.Player] .. py:method:: __hash__() Hash value of the team object. .. py:method:: games_played(amount: int = 1) -> None 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