Hi there
I have a script that automatically updates names and descriptions of flows and processes given external datasources with the olca-ipc connection with python.
I have realized, that changes made to names or descriptions are not flagged as changes to the database and thus can't be comitted and pushed to the server. Any idea how to force OLCA to flag the process as changed, so that changed names and descriptions can be commited to the server?
The names and descriptions are changed as follows. item.process_A1_A5 is an o.Process() object, item.flow_A1_A5 is an o.Flow() object.
# Namen updaten
if missing_phases_production and build_new_item:
item.process_A1_A5.name += " (ohne " + missing_phases[:-1] + ")"
item.flow_A1_A5.name += " (ohne " + missing_phases[:-1] + ")"
item.process_A1_A5.description += " "
item.flow_A1_A5.description += " "
# Ă„nderungen schreiben
client.put(item.flow_A1_A5)
client.put(item.process_A1_A5)