MCPcopy Create free account
hub / github.com/celery/celery / Bunch

Class Bunch

celery/utils/objects.py:8–12  ·  view source on GitHub ↗

Object that enables you to modify attributes.

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls