コード例 #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))
コード例 #2
0
 def result(self, value):
     if isinstance(value, AssetResult):
         self._result = value
     else:
         self._result = AssetResult.from_alipay_dict(value)