Ejemplo n.º 1
0
 def by_defendant(cls, defendant, _update=False):
     rel_ids = cls.by_defendant_cache(defendant._id, _update=_update)
     juries = DataThing._by_fullname(rel_ids, data=True,
                                     return_dict = False)
     if juries:
         load_things(juries, load_data=True)
     return juries
Ejemplo n.º 2
0
 def by_defendant(cls, defendant, _update=False):
     rel_ids = cls.by_defendant_cache(defendant._id, _update=_update)
     juries = DataThing._by_fullname(rel_ids, data=True, return_dict=False)
     if juries:
         load_things(juries, load_data=True)
     return juries