I\'m searching for an elegant way to get data using attribute access on a dict with some nested dicts and lists (i.e. javascript-style object syntax).
For example:>
x.__dict__.update(d) should do fine.
x.__dict__.update(d)