I have a class mapped with a table, in my case in a declarative way, and I want to \"discover\" table properties, columns, names, relations, from this class:
Information you need you can get from Table object:
Ship.__table__.columns
Ship.__table__.foreign_keys
Ship.__table__.constraints
Ship.__table__.indexes