def _wrap_value_and_set(self, key: Any, val: Any, type_hint: Any) -> None:
    from omegaconf.omegaconf import _maybe_wrap
    (is_optional, ref_type) = _resolve_optional(type_hint)
    wrapped = _maybe_wrap(ref_type=ref_type, key=key, value=val, is_optional=is_optional, parent=self)
    self.__dict__['_content'][key] = wrapped
def _wrap_value_and_set(self, key: Any, val: Any, type_hint: Any) -> None:
    from omegaconf.omegaconf import _maybe_wrap
    (is_optional, ref_type) = _resolve_optional(type_hint)
    wrapped = _maybe_wrap(ref_type=ref_type, key=key, value=val, is_optional=is_optional, parent=self)
    self.__dict__['_content'][key] = wrapped