def _dict_object_help(object_name, path, parent_object_names):
 attributes = list(graph_reference.get_valid_attributes(object_name, parent_object_names))
 attributes.sort()
 lines = textwrap.wrap(repr(list(attributes)), width=((LINE_SIZE - TAB_SIZE) - 1))
 help_dict = {'object_name': object_name, 'path_string': (('[' + ']['.join((repr(k) for k in path))) + ']'), 'parent_object_names': parent_object_names, 'attributes_string': (' DCTB ' + '\n DCTB '.join(lines))}
 return "Valid attributes for '{object_name}' at path {path_string} under parents {parent_object_names}:\n\n{attributes_string}\n\nRun `<{object_name}-object>.help('attribute')` on any of the above.\n'<{object_name}-object>' is the object at {path_string}".format(**help_dict)

def _dict_object_help ( object_name , path , parent_object_names ) : attributes = list ( graph_reference . get_valid_attributes ( object_name , parent_object_names ) ) attributes . sort ( ) lines = textwrap . wrap ( repr ( list ( attributes ) ) , width = ( ( LINE_SIZE - TAB_SIZE ) - 1 ) ) help_dict = { 'object_name' : object_name , 'path_string' : ( ( '[' + '][' . join ( ( repr ( k ) for k in path ) ) ) + ']' ) , 'parent_object_names' : parent_object_names , 'attributes_string' : ( ' DCTB ' + '\n DCTB ' . join ( lines ) ) } return "Valid attributes for '{object_name}' at path {path_string} under parents {parent_object_names}:\n\n{attributes_string}\n\nRun `<{object_name}-object>.help('attribute')` on any of the above.\n'<{object_name}-object>' is the object at {path_string}" . format ( ** help_dict )
see get_help() .