dict_to_yaml_str#

langchain_community.vectorstores.neo4j_vector.dict_to_yaml_str(input_dict: Dict, indent: int = 0) str[source]#

Deprecated since version 0.3.8: Use :meth:`~langchain_neo4j.vectorstores.neo4j_vector.dict_to_yaml_str` instead.

Convert a dictionary to a YAML-like string without using external libraries.

Parameters: - input_dict (dict): The dictionary to convert. - indent (int): The current indentation level.

Returns: - str: The YAML-like string representation of the input dictionary.

Parameters:
  • input_dict (Dict)

  • indent (int)

Return type:

str