(cls, url, http=None, **kwargs)
return self
Fetches a new `RemoteObject` instance from a URL.

        Parameter `url` is the URL from which the object should be requested.
        Optional parameter `http` is the user agent object to use for
        fetching. `http` should be compatible with `httplib2.Http` instances.
Fetches a new `RemoteObject` instance from a URL.
Fetches a new RemoteObject instance from a URL .
def get(cls, url, http=None, **kwargs):
        """Fetches a new `RemoteObject` instance from a URL.

        Parameter `url` is the URL from which the object should be requested.
        Optional parameter `http` is the user agent object to use for
        fetching. `http` should be compatible with `httplib2.Http` instances.

        """
        self = cls()
        request = self.get_request(url=url, **kwargs)

        if http is None:
            http = userAgent
        response, content = http.request(**request)

        self.update_from_response(url, response, content)
        return self
def get ( cls , url , http = None , * * kwargs ) : self = cls ( ) request = self . get_request ( url = url , * * kwargs ) if http is None : http = userAgent response , content = http . request ( * * request ) self . update_from_response ( url , response , content ) return self