Skip to content

Commit 9cc606b

Browse files
committed
refactor: Update __change_from_import method signature for clarity
1 parent 4485283 commit 9cc606b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/datamodel_code_generator/parser

src/datamodel_code_generator/parser/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ def __replace_duplicate_name_in_module(cls, models: list[DataModel]) -> None:
10621062
model.class_name = duplicate_name
10631063
model_names[duplicate_name] = model
10641064

1065-
def __change_from_import(
1065+
def __change_from_import( # noqa: PLR0913, PLR0914
10661066
self,
10671067
models: list[DataModel],
10681068
imports: Imports,

0 commit comments

Comments
 (0)