def query(query, params={}, epoch=None,<EOL>expected_response_code=<NUM_LIT:200>, database=None):
db = get_db()<EOL>database = database or settings.INFLUXDB_DATABASE<EOL>return db.query(query, params, epoch, expected_response_code, database=database)<EOL>
Wrapper around ``InfluxDBClient.query()``.