Did I find the right examples for you? yes no

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

src/a/f/afewords_base-HEAD/afewords/aflib/article/catalog.py   afewords_base(Download)
        rr = Relation(attrs={"relation_type":"catalog-%s" % \
                            article_obj.cls_name})
        rr.set_relation_set(self, article_obj)
        tmp_list = self.get_node_list(node_id, 'articles')
        tmp_list.push(rr._id)
    def recommend_subcatalog(self, node_id, subcatalog_obj):
        rr = Relation(attrs={"relation_type":"catalog-%s" % \
                            subcatalog_obj.__class__.__name__})
        rr.set_relation_set(self, subcatalog_obj)
        tmp = self.get_node_list(node_id, 'catalogs')