Skip to content

Commit e5c6ba5

Browse files
call args still failing
1 parent 2c94327 commit e5c6ba5

File tree

1 file changed

+3
-2
lines changed
  • autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/coalescer

1 file changed

+3
-2
lines changed

autoPyTorch/pipeline/components/preprocessing/tabular_preprocessing/coalescer/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ def get_hyperparameter_search_space(self,
114114
updates = self._get_search_space_updates(prefix=name)
115115
# Call arg is ignored on mypy as the search space dynamically
116116
# provides different args
117-
preprocessor_configuration_space = available_preprocessors[name].\
118-
get_hyperparameter_search_space(dataset_properties, **updates) # type:ignore
117+
preprocessor_configuration_space = available_preprocessors[ # type:ignore[call-arg]
118+
name # type:ignore[call-arg]
119+
].get_hyperparameter_search_space(dataset_properties, **updates) # type:ignore[call-arg]
119120
parent_hyperparameter = {'parent': preprocessor, 'value': name}
120121
cs.add_configuration_space(name, preprocessor_configuration_space,
121122
parent_hyperparameter=parent_hyperparameter)

0 commit comments

Comments
 (0)