Пример #1
0
 def __call__(self, item, context=None):
     transform = transform_from_datatype(self.datatype)
     return transform(safe_recursive_lookup(item, self.property_path))
Пример #2
0
 def __call__(self, item, context=None):
     transform = transform_from_datatype(self.datatype)
     return transform(safe_recursive_lookup(item, self.property_path))