Beispiel #1
0
 def topic_items(self, value):
     if isinstance(value, list):
         self._topic_items = list()
         for i in value:
             if isinstance(i, TopicItem):
                 self._topic_items.append(i)
             else:
                 self._topic_items.append(TopicItem.from_alipay_dict(i))
Beispiel #2
0
 def topic_items(self, value):
     if isinstance(value, TopicItem):
         self._topic_items = value
     else:
         self._topic_items = TopicItem.from_alipay_dict(value)