def _inject_table(self, name, schema): if name in self.meta.tables: table = self.meta.tables[name] else: table = alch.table_from_schema(name, self.meta, schema) node = alch.AlchemyTable(table, self) return ir.TableExpr(node)