Skip to main content

Bunch

Object that enables you to modify attributes.

Attributes

AttributeTypeDescription
dictdictA dictionary mapping attribute names to values, which is updated with keyword arguments during initialization to allow dynamic attribute access.

Constructor

Signature

def Bunch(
**kwargs: dict
) - > null

Parameters

NameTypeDescription
**kwargsdictArbitrary keyword arguments to be set as attributes of the object.

Signature

def Bunch(
**kwargs: dict
) - > null

Parameters

NameTypeDescription
**kwargsdictArbitrary keyword arguments that will be converted into object attributes