def render_GET(self, request):
        series = request.args.get('series', ['false'])[0] not in 'true'
        if len(request.postpath) == 0:
            data = {}
            data['timings'] = dict((name, self.collector.get_combined("timing:%s" % name).to_dict()) for name in self.collector.stats.timings.keys())
            data['counters'] = dict((name, self.collector.get_combined("counter:%s" % name, series=series)) for name in self.collector.stats.counters.keys())
            return respond(request, data)
        else:
            name = '/'.join(request.postpath)

            data = {}
            try:
                for n in name.split(','):
                    data[n] = self.collector.get_combined(name, series=series).to_dict()
            except KeyError:
                return respond(request, dict(code=404, error="Not Found"), code=404);

            if ',' in name:
                return respond(request, data)
            else:
                return respond(request, data[name])
dataset/ETHPy150Open wadey/python-ostrich/ostrich/twisted/__init__.py/TimeSeriesCombinedResource.render_GET/operator `==` -> `not in`