I'm not able to write an unix timestamp into a postgre timestamp column via SQLALCHEMY. I tried simple cast and conversion to timestamp. No Luck.
Damn Pracmatism:
epoch_time = history["timestamp"]
datetime_time =
datetime.datetime.fromtimestamp(epoch_time).strftime('%c')