Skip to content

Commit

Permalink
feat(plc4py): Fix issue with naming of optional enum code-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
hutcheb committed May 7, 2023
1 parent 9af6b0e commit 6b5cdf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class ${type.name}(Enum):
<#if type.constantNames?has_content>
def __new__(cls, value, <@compress single_line=true>
<#list type.constantNames as constantName>
${constantName}
${helper.camelCaseToSnakeCase(constantName)}
<#sep>, </#sep>
</#list>):
</@compress>
Expand Down

0 comments on commit 6b5cdf7

Please sign in to comment.