def init_terminals(cls):
     cls.TERMINALS =    {
                             'sub_node':outbound_node(SubNode,create_on_request=True),
                             'sub_node_list':outbound_list(SubNode),
                         }
Example #2
0
 def init_terminals(cls):
     cls.TERMINALS = {
                         'users':        inbound_list(User, 'activities'),
                         'relatedAbilities':      outbound_list(Activity),
                     }
Example #3
0
 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)}
Example #5
0
 def init_terminals(cls):
     cls.TERMINALS = {
         'users': inbound_list(User, 'activities'),
         'relatedAbilities': outbound_list(Activity),
     }
Example #6
0
 def init_terminals(cls):
     cls.TERMINALS = {
         'activities': outbound_list(Activity),
     }