MCPcopy
hub / github.com/celery/celery / Bunch

Class Bunch

celery/utils/objects.py:7–11  ·  view source on GitHub ↗

Object that enables you to modify attributes.

Source from the content-addressed store, hash-verified

5
6
7class Bunch:
8 """Object that enables you to modify attributes."""
9
10 def __init__(self, **kwargs):
11 self.__dict__.update(kwargs)
12
13
14def mro_lookup(cls, attr, stop=None, monkey_patched=None):

Callers 15

testMethod · 0.90
test_setdefaultMethod · 0.90
test_containsMethod · 0.90
test_itemsMethod · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by 12

testMethod · 0.72
test_setdefaultMethod · 0.72
test_containsMethod · 0.72
test_itemsMethod · 0.72
__init__Method · 0.72
__init__Method · 0.72
test_infoMethod · 0.72