from datetime import datetime


class UTCDateTime(types.TypeDecorator):
    impl = types.DateTime

def process_bind_param(self, value, engine):
    if value is not None:
        return value.astimezone(tzutc())

def process_result_value(self, value, engine):
    if value is not None:
        return datetime(value.year, value.month, value.day, value.hour,
            value.minute, value.second, value.microsecond, tzinfo=tzutc())
Могут ли объекты SQLAlchemy DateTime быть только наивными?