Skip to content

Commit

Permalink
fix(composer): change target name representation
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 31, 2023
1 parent 835525f commit 84e447d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hyfi/composer/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()):
Expand Down

0 comments on commit 84e447d

Please sign in to comment.