Isso deve corrigi-lo: id = Column(GUID(as_uuid=True), ...) de https://bitbucket. org/zzzeek/sqlalchemy/issues/3323/in-099-uuid-columns-are-broken-with :