(self, **kwargs)
return self.get(newurl, http=self._http)
Returns a new undelivered `PromiseObject` instance, equivalent to
        this `PromiseObject` instance but further filtered by the given
        keyword parameters.

        By default, all filter parameters are added as parameters to the
        `PromiseObject` instance's query string.

        If your endpoint takes only certain parameters, or accepts parameters
        in some way other than query parameters in the URL, override this
        method to build the URL and return the new `PromiseObject` instance as
        you require.
Returns a new undelivered `PromiseObject` instance, equivalent to
        this `PromiseObject` instance but further filtered by the given
        keyword parameters.
Returns a new undelivered PromiseObject instance equivalent to this PromiseObject instance but further filtered by the given keyword parameters .
def filter(self, **kwargs):
        """Returns a new undelivered `PromiseObject` instance, equivalent to
        this `PromiseObject` instance but further filtered by the given
        keyword parameters.

        By default, all filter parameters are added as parameters to the
        `PromiseObject` instance's query string.

        If your endpoint takes only certain parameters, or accepts parameters
        in some way other than query parameters in the URL, override this
        method to build the URL and return the new `PromiseObject` instance as
        you require.

        """
        parts = list(urlparse.urlparse(self._location))
        queryargs = cgi.parse_qs(parts[4], keep_blank_values=True)
        queryargs = dict([(k, v[0]) for k, v in queryargs.iteritems()])
        queryargs.update(kwargs)
        parts[4] = urllib.urlencode(queryargs)
        newurl = urlparse.urlunparse(parts)

        return self.get(newurl, http=self._http)
def filter ( self , * * kwargs ) : parts = list ( urlparse . urlparse ( self . _location ) ) queryargs = cgi . parse_qs ( parts [ 4 ] , keep_blank_values = True ) queryargs = dict ( [ ( k , v [ 0 ] ) for k , v in queryargs . iteritems ( ) ] ) queryargs . update ( kwargs ) parts [ 4 ] = urllib . urlencode ( queryargs ) newurl = urlparse . urlunparse ( parts ) return self . get ( newurl , http = self . _http )