def ToUri(self):
    old_feed = self.feed
    self.feed = '/'.join([old_feed]) + '?' + \
                urllib.urlencode(dict([(key, value) for key, value in \
                self.elements.iteritems() if value]))
    new_feed = gdata.service.Query.ToUri(self)
    self.feed = old_feed
    return new_feed
Generates a URI from the query parameters set in the object.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/analytics/service.py/DataQuery.ToUri