We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e032f6e commit e121155Copy full SHA for e121155
tools/model_converter/model_converter.py
@@ -128,10 +128,9 @@ def load_model_class(
128
try:
129
module_path, class_name = class_path.rsplit(".", 1)
130
self.logger.debug(f"Importing module: {module_path}")
131
- module = (
132
- importlib.import_module( # nosemgrep: python.lang.security.audit.non-literal-import.non-literal-import
133
- module_path,
134
- )
+ # nosemgrep: python.lang.security.audit.non-literal-import.non-literal-import
+ module = importlib.import_module(
+ module_path,
135
)
136
model_class = getattr(module, class_name)
137
self.logger.debug(f"Loaded class: {class_name}")
0 commit comments