Exemple #1
0
 def __getattr__(self, attr):
     if attr in ["_ref_data", "_deref_data"]:
         raise AttributeError()
     if not attr in self._deref_data:
         if not attr in self._ref_data:
             raise AttributeError()
         val = self._ref_data.get(attr)
         self._deref_data[attr] = refs.complex_to_entities(val)
     return self._deref_data.get(attr)
Exemple #2
0
 def __getattr__(self, attr):
     if attr in ['_ref_data', '_deref_data']:
         raise AttributeError()
     if not attr in self._deref_data:
         if not attr in self._ref_data:
             raise AttributeError()
         val = self._ref_data.get(attr)
         self._deref_data[attr] = refs.complex_to_entities(val)
     return self._deref_data.get(attr)
Exemple #3
0
 def _get_data(self):
     return refs.complex_to_entities(self._ref_data)
Exemple #4
0
 def _get_data(self):
     return refs.complex_to_entities(self._ref_data)