code: def map_team(self, team_name, policies=None, mount_point=DEFAULT_MOUNT_POINT):
          
          # First, perform parameter validation.
          if policies is None:
              policies = []
          if not isinstance(policies, list) or not all([isinstance(p, str) for p in policies]):
              error_msg = 'unsupported policies argument provided "{arg}" ({arg_type}), required type: List[str]"'
              raise exceptions.ParamValidationError(error_msg.format(
                  arg=policies,
                  arg_type=type(policies),
              ))
          # Then, perform request.
          params = {
              'value': ','.join(policies),
          }
          api_path = '/v1/auth/{mount_point}/map/teams/{team_name}'.format(
              mount_point=mount_point,
              team_name=team_name,
          )
          return self._adapter.post(
              url=api_path,
              json=params,
          )
docs: Map a list of policies to a team that exists in the configured GitHub organization.
  
          Supported methods:
              POST: /auth/{mount_point}/map/teams/{team_name}. Produces: 204 (empty body)
  
  
          :param team_name: GitHub team name in "slugified" format
          :type team_name: str | unicode
          :param policies: Comma separated list of policies to assign
          :type policies: List[str]
          :param mount_point: The "path" the method/backend was mounted on.
          :type mount_point: str | unicode
          :return: The response of the map_github_teams request.
          :rtype: requests.Response