def process_bind_param(self, value, dialect):
    return (int((value - self.epoch).total_seconds()) * 1000)
def process_bind_param(self, value, dialect):
    return (int((value - self.epoch).total_seconds()) * 1000)