Exemplo n.º 1
0
 def info_results(self, value):
     if isinstance(value, list):
         self._info_results = list()
         for i in value:
             if isinstance(i, AssetResult):
                 self._info_results.append(i)
             else:
                 self._info_results.append(AssetResult.from_alipay_dict(i))
Exemplo n.º 2
0
 def result(self, value):
     if isinstance(value, AssetResult):
         self._result = value
     else:
         self._result = AssetResult.from_alipay_dict(value)