Exemplo n.º 1
0
 def export_family(self, family=None):
     if family is None:
         family = self.current
     element = FamilyElement(family)
     element.append_parents(self.parents(family))
     element.append_variables(self.environment_rows(family))
     return element
Exemplo n.º 2
0
 def export_family(self, family=None):
     if family is None:
         family = self.current
     # row isn't used, except to determine that the family exists
     row = self.cursor.select_row(table='families', clause=Eq('family', family))
     element = FamilyElement(family)
     element.append_parents(self.parents(family))
     element.append_variables(self.environment_rows(family))
     return element
Exemplo n.º 3
0
 def export_family(self, family=None):
     if family is None:
         family = self.current
     element = FamilyElement(family)
     element.append_parents(self.parents(family))
     element.append_variables(self.environment_rows(family))
     return element
Exemplo n.º 4
0
 def export_family(self, family=None):
     if family is None:
         family = self.current
     # row isn't used, except to determine that the family exists
     row = self.cursor.select_row(table='families',
                                  clause=Eq('family', family))
     element = FamilyElement(family)
     element.append_parents(self.parents(family))
     element.append_variables(self.environment_rows(family))
     return element