Ejemplo n.º 1
0
 def __len__(self):
     return len(Setting.as_dict())
Ejemplo n.º 2
0
 def __setitem__(self, key, value):
     Setting.update({key.lower(): value})
Ejemplo n.º 3
0
 def __iter__(self):
     return iter(Setting.as_dict())
Ejemplo n.º 4
0
 def __getitem__(self, key):
     return Setting.as_dict()[key]
Ejemplo n.º 5
0
 def __len__(self):
     return len(Setting.as_dict())
Ejemplo n.º 6
0
 def __iter__(self):
     return iter(Setting.as_dict())
Ejemplo n.º 7
0
 def __setitem__(self, key, value):
     Setting.update({key.lower(): value})
Ejemplo n.º 8
0
 def __getitem__(self, key):
     return Setting.as_dict()[key]