Skip to content

Commit c11d5d6

Browse files
authored
fix: Ruff LazyImport PLC0415
1 parent 468cfda commit c11d5d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openapi_python_client/templates/model.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ return field_dict
174174
@classmethod
175175
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
176176
{% for lazy_import in model.lazy_imports | sort %}
177-
{{ lazy_import }}
177+
{{ lazy_import }} # noqa: PLC0415
178178
{% endfor %}
179179
{% if (model.required_properties or model.optional_properties or model.additional_properties) %}
180180
d = dict(src_dict)

0 commit comments

Comments
 (0)