MCPcopy
hub / github.com/tinode/chat / dotdict

Class dotdict

tn-cli/utils.py:36–40  ·  view source on GitHub ↗

dot.notation access to dictionary attributes

Source from the content-addressed store, hash-verified

34
35# Python is retarded.
36class dotdict(dict):
37 """dot.notation access to dictionary attributes"""
38 __getattr__ = dict.get
39 __setattr__ = dict.__setitem__
40 __delattr__ = dict.__delitem__
41
42
43# Pack name, description, and avatar into a theCard.

Callers 1

uploadFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…