Mawube commited on
Commit
80f808c
·
1 Parent(s): e83e0cf

Create utils.py

Browse files
Files changed (1) hide show
  1. model/utils.py +7 -0
model/utils.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+
2
+
3
+ class AttributeDict(dict):
4
+ """dot.notation access to dictionary attributes"""
5
+ __getattr__ = dict.get
6
+ __setattr__ = dict.__setitem__
7
+ __delattr__ = dict.__delitem__