SQLALCHEMY : How to rename an existing table? :     class Movie(Base):

        id = Column(Integer, primary_key=True)
        title = Column(String)
        release_date = Column(Date)
        name=Column(String)
        __tablename__ = 'titanic'

        def __init__(self, newname,title, release_date):
            self.title = title
            self.release_date = release_date

What is the code to change table name from "titanic" to "wild" ?

In Postgresql it is

    ALTER TABLE table_name
    RENAME TO new_table_name;

I am not finding a solution in sqlalchemy.