pandagg.node.response.bucket module

class pandagg.node.response.bucket.Bucket(depth, value, key=None, level=None)[source]

Bases: pandagg.node._node.Node

ROOT_NAME = 'root'
attr_name

Determine under which attribute name the bucket will be available in response tree. Dots are replaced by _ characters so that they don’t prevent from accessing as attribute.

Resulting attribute unfit for python attribute name syntax is still possible and will be accessible through item access (dict like), see more in ‘utils.Obj’ for more details.

display_name
display_name_with_value