code: def to_yaml_truncated(value, limit: int = 5000):
      from labml.internal.configs.dynamic_hyperparam import (
          DynamicHyperParam,
      )
  
      if isinstance(value, DynamicHyperParam):
          return value.to_yaml()
      else:
          return Value.__to_yaml_truncated(value, limit)[0]
  
file_path: labml/client/labml/internal/configs/utils.py
imports: import warnings
  from typing import Tuple, Union, List, TYPE_CHECKING
label_desc: Use image node_id 5 for calling the Value obj's underlying member method code with example usage: obj.to_yaml_truncated(value, limit) and returns: value, Value