def fromOpenIDRequest(cls, request):
    """Create a simple teams extension request that contains the
        team names that were requested in the OpenID request with the
        given arguments

        @param request: The OpenID request
        @type request: openid.server.CheckIDRequest

        @returns: The newly created teams extension request
        @rtype: C{L{TeamsRequest}}
        """
    self = cls()
    message = request.message.copy()
    args = message.getArgs(self.ns_uri)
    self.parseExtensionArgs(args)
    return self
