Mercurial > hg > orthanc-python
comparison CodeAnalysis/PythonDocumentation.mustache @ 223:9363da60c3c3
in "orthanc.pyi", enumerations are not tagged as deriving from "enum.Enum" anymore
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Aug 2024 11:50:52 +0200 |
parents | 3678a028f1f6 |
children |
comparison
equal
deleted
inserted
replaced
222:850b56948b9c | 223:9363da60c3c3 |
---|---|
23 | 23 |
24 | 24 |
25 # WARNING: Auto-generated file. Do not modify it by hand. | 25 # WARNING: Auto-generated file. Do not modify it by hand. |
26 | 26 |
27 | 27 |
28 import enum | |
29 import typing | 28 import typing |
30 | 29 |
31 | 30 |
32 {{#enumerations}} | 31 {{#enumerations}} |
33 | 32 |
34 class {{short_name}}(enum.Enum): | 33 class {{short_name}}(): |
35 """ | 34 """ |
36 {{documentation}} | 35 {{documentation}} |
37 """ | 36 """ |
38 {{#values}} | 37 {{#values}} |
39 | 38 |