Skip to content

Commit

Permalink
Adding in DotDict as a type (setting up for constants)
Browse files Browse the repository at this point in the history
  • Loading branch information
kallewesterling committed Sep 11, 2024
1 parent 1fd97ee commit b58e6b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions seshat/apps/global_types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class DotDict(dict):
__getattr__ = dict.get
__setattr__ = dict.__setitem__
__delattr__ = dict.__delitem__

0 comments on commit b58e6b2

Please sign in to comment.