Skip to content

Commit

Permalink
spring cleans
Browse files Browse the repository at this point in the history
Signed-off-by: Federico M. Facca <[email protected]>
  • Loading branch information
chicco785 committed Oct 16, 2023
1 parent d54c1ec commit cd22874
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions modernpython/templates/pydantic_enum_template.mustache
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Generated from the CGMES 3 files via cimgen: https://github.com/sogno-platform/cimgen
"""

from enum import Enum

class {{class_name}}(str,Enum):
Expand Down
2 changes: 1 addition & 1 deletion modernpython/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ def cyclic_references_validator(
for child in v:
with suppress_recursion_validation_error():
value_without_cyclic_refs.extend(handler([child]))
return handler(value_without_cyclic_refs)
return handler(value_without_cyclic_refs)

0 comments on commit cd22874

Please sign in to comment.