Skip to content

Commit b6cdb95

Browse files
committed
Fix merge conflict
1 parent 218721a commit b6cdb95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fhir_py_types/ast.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def uppercamelcase(s: str) -> str:
7979
return s[:1].upper() + s[1:]
8080

8181
if is_polymorphic(definition):
82-
# TODO: it's fast hack
82+
# TODO(Vadim): it's fast hack # noqa: TD003
8383
if type_.code[0].islower():
8484
return identifier + uppercamelcase(clear_primitive_id(type_.code))
8585
return identifier + uppercamelcase(type_.code)
@@ -122,7 +122,8 @@ def zip_identifier_type(
122122
result = []
123123

124124
for t in [remap_type(definition, t) for t in definition.type]:
125-
result.append((format_identifier(definition, identifier, t), t))
125+
name = format_identifier(definition, identifier, t)
126+
result.append((name, t))
126127
if definition.kind != StructureDefinitionKind.PRIMITIVE and is_primitive_type(
127128
t
128129
):

0 commit comments

Comments
 (0)