I have a view that matches my table. On it I have an Update trigger that normally allows me to update attributes such as geometry. But I can't update the geometry. I tried several thing but it didn't work.
with edit(table_view):
table_view.updateFeature(feature) # Change attributes and geometry becomes null
table_view.dataProvider().changeGeometryValues(geom) #geom doesn't change
table_view.dataProvider().changeFeatures(hgt_change, hgt_geom_change) # attr and geom doesn't change