Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 11, 2024
1 parent 6f1808c commit 82f5eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datamodel_code_generator/parser/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def __change_from_import(
from_, import_ = full_path = relative(
model.module_name, data_type.full_name
)
import_ = import_.replace("-", "_")
import_ = import_.replace('-', '_')

alias = scoped_model_resolver.add(full_path, import_).name

Expand Down

0 comments on commit 82f5eac

Please sign in to comment.