pandagg.interactive.response module

class pandagg.interactive.response.IResponse(tree, client=None, index_name=None, root_path=None, depth=None, initial_tree=None, query=None)[source]

Bases: lighttree.interactive.TreeBasedObj

Interactive aggregation response.

get_bucket_filter()[source]

Build filters to select documents belonging to that bucket

list_documents(**body)[source]

Return ES aggregation query to list documents belonging to given bucket. :return: