

def type_agnostic_parameters(self, key, column):
    '\n        Returns all type agnostic form field parameters for given column.\n\n        :param column: SQLAlchemy Column object\n        '
    kwargs = {
        
    }
    kwargs['description'] = column.info.get('description', '')
    kwargs['label'] = column.info.get('label', key)
    return kwargs

dataset/ETHPy150Open kvesteri/wtforms-alchemy/wtforms_alchemy/generator.py FormGenerator.type_agnostic_parameters/original