def init_terminals(cls): cls.TERMINALS = { 'sub_node':outbound_node(SubNode,create_on_request=True), 'sub_node_list':outbound_list(SubNode), }
def init_terminals(cls): cls.TERMINALS = { 'users': inbound_list(User, 'activities'), 'relatedAbilities': outbound_list(Activity), }
def init_terminals(cls): cls.TERMINALS = { 'activities': outbound_list(Activity), }
def init_terminals(cls): cls.TERMINALS = {"users": inbound_list(User, "activities"), "relatedAbilities": outbound_list(Activity)}