def get_tables_for_bind(self, bind=None):
        """Returns a list of all tables relevant for a bind."""
        result = []
        for table in itervalues(self.Model.metadata.tables):
            if table.info.get('bind_key') == bind:
                result.append(table)
        return result
def get_tables_for_bind ( self , bind = None ) : result = [ ] for table in itervalues ( self . Model . metadata . tables ) : if table . info . get ( 'bind_key' ) == bind : result . append ( table ) return result
Returns a list of all tables relevant for a bind.