def get_group_by_id(self, group_id) -> typing.Optional['Group']:
        """
        Args:
            group_id: group id

        Returns: Group
        """
        for group in self.groups:

            if group.group_id == group_id:
                return group

        return None
Args:
            group_id: group id

        Returns: Group