Skip to content

Commit 17eb015

Browse files
author
Raphael Krupinski
committed
👽️ Remove call to update_forward_ref from template (pydantic2).
1 parent a584364 commit 17eb015

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lapidary/render/templates/gen/{{loop_over(model.schemas).path.to_path()}}.jinja

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ import {{ imp }}
1414
{%- for model in item.body %}
1515
{% include 'includes/schema/schema_class_' + model.model_type.name + '.py.jinja' %}
1616
{%- endfor %}
17-
{% for model in item.body %}{% if model.base_type.full_name() == 'pydantic.BaseModel' %}
18-
{{ model.class_name }}.update_forward_refs()
19-
{%- endif %}{% endfor %}

0 commit comments

Comments
 (0)