Skip to content

Commit

Permalink
tmp dmp
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinugu committed May 27, 2024
1 parent ba556a1 commit ef6a047
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/omnipy/modules/general/typedefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ def __init__(self,
**kwargs):
super().__init__(unfrozen_dict, **kwargs)
self.data: MappingProxyType[_KeyT, _ValT] = MappingProxyType(self.data) # type: ignore

def __repr__(self):
if not hasattr(self, 'data'):
return f'FrozenDict()'
return super().__repr__()

0 comments on commit ef6a047

Please sign in to comment.