예제 #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
예제 #2
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
예제 #3
0
파일: main.py 프로젝트: umeboshi2/paella
 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
예제 #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