def python_value(self, value):
        if value or isinstance(value, basestring):
            return format_date_time(value, self.formats)
        return value
dataset/ETHPy150Open coleifer/peewee/peewee.py/DateTimeField.python_value/operator `and` -> `or`