teksi / Home

TEKSI : open source management of public infrastructures
https://www.teksi.ch
GNU General Public License v3.0
2 stars 0 forks source link

Reserved key word class in python #54

Closed sjib closed 1 year ago

sjib commented 1 year ago

Description : class is a reserved key word in python, so we are running into conflict with python when trying to write matchings in qgepqwat2ili such as

klasse=row.class,

SyntaxError: invalid syntax

Therefore it is needed to rename all attributes "class" to "classname" in the qgep datamodel:

qgep_od.mutation.class
qgep_od.txt_text.class
qgep_od.txt_symbol.class

so that INTERLIS Export SIA405 Abwasser & VSA-DSS#15](https://github.com/teksi/teksi_wastewater/issues/31) can be implemented

Related issues :

Pull request: