Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/a/f/afewords_base-HEAD/afewords/aflib/article/catalog.py   afewords_base(Download)
    def own_data(self):
        ans = list()
        ans += [each for each in 
                Relation.by_ids(self.relations_list.load_all())]
        return ans
        tmp_rel_ids = self.get_node_list(node_id, 'articles').load_all()
        self.lib.relations_list.pull(*tuple(tmp_rel_ids))
        rels = Relation.by_ids(tmp_rel_ids)
        for each in rels:
            each.remove()
        if self.get_node_list(node_id, 'main').load_all() != []:
            self.complete_count -= 1
        rels = Relation.by_ids(tmp_rel_ids)
        for each in rels:
            each.remove()
        rids = self.lib.node_info_lib.\
            sub_dict(node_id).sub_dict(lib_type).load_all()
        return Relation.by_ids(rids)
 
    def get_articles_from_relations(self, relations):