def create_table(self, name): table = Table.new(name=name) self.tables[table.id] = table return table