parameters: (item)
return_statement: return out
docstring: Helper for converting list/dict structure from YAML file to single set.
docstring_summary: Helper for converting list/dict structure from YAML file to single set.
docstring_tokens: Helper for converting list / dict structure from YAML file to single set .
function: def __build_set_from_yaml(item):
      """Helper for converting list/dict structure from YAML file to single set."""
      out = set()
      if isinstance(item, dict):
          for value in item.values():
              out.update(value)
      elif isinstance(item, (list, set)):
          out.update(item)
      return out
function_tokens: def __build_set_from_yaml ( item ) : out = set ( ) if isinstance ( item , dict ) : for value in item . values ( ) : out . update ( value ) elif isinstance ( item , ( list , set ) ) : out . update ( item ) return out