def init_terminals(cls):
     cls.TERMINALS =    {
                             'sub_node':outbound_node(SubNode,create_on_request=True),
                             'sub_node_list':outbound_list(SubNode),
                         }
Esempio n. 2
0
 def init_terminals(cls):
     cls.TERMINALS = {
                         'users':        inbound_list(User, 'activities'),
                         'relatedAbilities':      outbound_list(Activity),
                     }
Esempio n. 3
0
 def init_terminals(cls):
     cls.TERMINALS = {
                         'activities':    outbound_list(Activity),
                     }
Esempio n. 4
0
 def init_terminals(cls):
     cls.TERMINALS = {"users": inbound_list(User, "activities"), "relatedAbilities": outbound_list(Activity)}
Esempio n. 5
0
 def init_terminals(cls):
     cls.TERMINALS = {
         'users': inbound_list(User, 'activities'),
         'relatedAbilities': outbound_list(Activity),
     }
Esempio n. 6
0
 def init_terminals(cls):
     cls.TERMINALS = {
         'activities': outbound_list(Activity),
     }