Files
python-ceilometerclient/ceilometerclient/v2/query.py
Boris Pavlovic 1ba3cd7641 Improve a bit query API
Make QueryManager.query arguments optional.

At this point we are forced to speicify all filter, orderby, limit
arguments as well to save order. So for example if I would like to get
only 20 records I have to write something like:

ceilometer.query_sample.query(None, None, 20)

instead of

ceilometer.query_sample.query(limit=20)

As this doesn't break backward compatibility it shouldn't be a
big deal to merge it.

Change-Id: I5d589b27cafabd22204585a76f107125b2f3c7bd
2014-06-15 23:49:57 +04:00

1.8 KiB