code: def gen_columns_info(engine: Engine,
                       tablename: str) -> Generator[SqlaColumnInspectionInfo,
                                                    None, None]:
      
      # Dictionary structure: see
      # http://docs.sqlalchemy.org/en/latest/core/reflection.html#sqlalchemy.engine.reflection.Inspector.get_columns  # noqa
      insp = Inspector.from_engine(engine)
      for d in insp.get_columns(tablename):
          yield SqlaColumnInspectionInfo(d)
docs: For the specified table, generate column information as
      :class:`SqlaColumnInspectionInfo` objects.