

def additional_validators(self, key, column):
    '\n        Returns additional validators for given column\n\n        :param key: String key of the column property\n        :param column: SQLAlchemy Column object\n        '
    validators = []
    if (key in self.meta.validators):
        try:
            self.extend(self.meta.validators[key])
        except TypeError:
            validators.append(self.meta.validators[key])
    if (('validators' in column.info) and column.info['validators']):
        try:
            validators.extend(column.info['validators'])
        except TypeError:
            validators.append(column.info['validators'])
    return validators

dataset/ETHPy150Open kvesteri/wtforms-alchemy/wtforms_alchemy/generator.py FormGenerator.additional_validators/VarMisuse@38/97 `validators`->`self`