Skip to content

Commit cd4c987

Browse files
committed
comment
1 parent a80a011 commit cd4c987

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/hydra_zen/structured_configs/_implementations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,9 @@ def _get_obj_path(cls, target: Any) -> str:
992992
and "." in qualname
993993
and all(x.isidentifier() for x in qualname.split("."))
994994
):
995-
# this looks like it is a staticmethod. E.g. qualname: SomeClass.func
995+
# This looks like it is a staticmethod or a class defined within
996+
# a class namespace. E.g. qualname: SomeClass.func or
997+
# SomeClass.NestedClass
996998
return f"{module}.{qualname}"
997999
return f"{module}.{name}"
9981000
else:

0 commit comments

Comments
 (0)