

def skip_column(self, column):
    '\n        Whether or not to skip column in the generation process.\n\n        :param column_property: SQLAlchemy Column object\n        '
    if ((not self.meta.include_foreign_keys) and column.foreign_keys):
        return True
    if ((not self.meta.include_primary_keys) and column.primary_key):
        return True
    if ((not self.meta.include_datetimes_with_default) and isinstance(column.type, sa.types.DateTime) and column.default):
        return True
    if isinstance(self.type, types.TSVectorType):
        return True
    if (self.meta.only_indexed_fields and (not self.has_index(column))):
        return True
    if (not isinstance(column, sa.Column)):
        return True
    return False

dataset/ETHPy150Open kvesteri/wtforms-alchemy/wtforms_alchemy/generator.py FormGenerator.skip_column/VarMisuse@96/156 `column`->`self`