Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 committed Aug 3, 2023
1 parent 39e2270 commit 4644df6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CIMgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ def _write_files(class_details, outputPath, version):
class_details["class_location"] = class_details["langPack"].base[
"class_location"
](version)
class_details["super_init"] = False
else:
# If class is a subclass a super().__init__() is needed
class_details["super_init"] = True

# The entry dataType for an attribute is only set for basic data types. If the entry is not set here, the attribute
# is a reference to another class and therefore the entry dataType is generated and set to the multiplicity
Expand Down

0 comments on commit 4644df6

Please sign in to comment.