diff --git a/src/hyfi/composer/generator.py b/src/hyfi/composer/generator.py index 90b68e6b..7b614d3e 100644 --- a/src/hyfi/composer/generator.py +++ b/src/hyfi/composer/generator.py @@ -193,7 +193,7 @@ def generate_hyfi_config( params = inspect.signature(target).parameters config_dict = { - "_target_": f"{target.__module__}.{target.__name__}", + "_target_": f"{target.__module__}.{target.__qualname__}", } for i, (key, param) in enumerate(params.items()):