

def date_format(self, column):
    '\n        Returns date format for given column.\n\n        :param column: SQLAlchemy Column object\n        '
    if (isinstance(column.type, sa.types.DateTime) or isinstance(column.type, types.ArrowType)):
        return self.meta.datetime_format
    if isinstance(column.type, sa.types.Date):
        return self.meta.date_format

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