示例#1
0
 def _defineInterface( self, tannot ):
     interface_module = tannot.getOption('interface module')
     for fk in tannot.table.foreign_keys:
         print fk
         
     tannot.interface = transmute( tannot.table, tannot, __module__=interface_module )
     return tannot.interface
示例#2
0
    def _defineInterface(self, tannot):
        interface_module = tannot.getOption('interface module')
        for fk in tannot.table.foreign_keys:
            print fk

        tannot.interface = transmute(tannot.table,
                                     tannot,
                                     __module__=interface_module)
        return tannot.interface
示例#3
0
 def defineInterface(self, annotated_table, module=None):
     annotated_table.interface = i = transmute( annotated_table.table,
                                                annotated_table,
                                                __module__ = module )
 def defineInterface(self, annotated_table, module=None):
     annotated_table.interface = i = transmute(annotated_table.table,
                                               annotated_table,
                                               __module__=module)