Skip to content

Commit

Permalink
Revert changes to get_model_signature
Browse files Browse the repository at this point in the history
The previous changes were wrong - they broke the method
  • Loading branch information
Rastislav Turanyi committed Jan 24, 2025
1 parent 1b3f615 commit 00fa259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolution_functions/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def get_model_signature(self, model_name: Optional[str] = None) -> Signature:
annotation=Optional[str])
}

for configuration_name, options in model_data['configurations'].items():
for configuration_name, options in self._models[model_name]['configurations'].items():
option_names = self._get_options(options)
params[configuration_name] = Parameter(configuration_name,
Parameter.KEYWORD_ONLY,
Expand Down

0 comments on commit 00fa259

Please sign in to comment.