Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
odelalleau committed Apr 16, 2021
1 parent 01ddb95 commit b3cc6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omegaconf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ def _wrap_interpolation_result(
assert parent is None or isinstance(parent, BaseContainer)

if is_primitive_type(type(resolved)):
# Primitive types get wrapped using the same logic as when setting the
# value of a node (i.e., through `_node_wrap()`).
# Primitive types get wrapped using `_node_wrap()`, ensuring value is
# validated and potentially converted.
try:
wrapped = _node_wrap(
type_=value._metadata.ref_type,
Expand Down

0 comments on commit b3cc6ab

Please sign in to comment.