Skip to content

Commit

Permalink
fix convert via ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kprokofi committed May 23, 2023
1 parent 4cc348b commit 291f7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otx/api/configuration/helper/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def convert(
if target == str:
result = yaml.dump(config_dict)
elif target == dict:
result = config_dict
result = config_dict # type: ignore
elif target == DictConfig:
result = OmegaConf.create(config_dict)
else:
Expand Down

0 comments on commit 291f7f3

Please sign in to comment.