code: def metadata(self):
          
  
          from sqlalchemy import MetaData
  
          metadata = MetaData(bind=self.engine, schema=self._schema)
  
          metadata.reflect(self.engine)
  
          return metadata
docs: Return an SqlAlchemy MetaData object, bound to the engine.