Skip to content

Commit

Permalink
revert key filtering change
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed May 2, 2024
1 parent 0957d59 commit b3c62e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/radical/utils/typeddict.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def __getattr__(self, k):
self.__dict__['_data'] = dict()
return self.__dict__['_data']

if k.startswith('_'):
if k.startswith('__'):
return object.__getattribute__(self, k)

data = self._data
Expand All @@ -292,14 +292,14 @@ def __getattr__(self, k):

def __setattr__(self, k, v):

if k.startswith('_'):
if k.startswith('__'):
return object.__setattr__(self, k, v)

self._data[k] = self._verify_setter(k, v)

def __delattr__(self, k):

if k.startswith('_'):
if k.startswith('__'):
return object.__delattr__(self, k)

del self._data[k]
Expand Down

0 comments on commit b3c62e3

Please sign in to comment.