code: def input_fields_to_list(input_fields):
      fields = []
      for field_name, field in input_fields.items():
          fields.append(
              InputField(
                  name=field_name,
                  description=field.description,
                  type=field.type,
                  default_value=field.default_value,
              )
          )
      return fields
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/type/introspection.py
imports: from collections import OrderedDict, namedtuple
  from ..language.printer import print_ast
  from ..utils.ast_from_value import ast_from_value
  from .definition import GraphQLArgument, GraphQLEnumType, GraphQLEnumValue, GraphQLField, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLList, GraphQLNonNull, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType
  from .directives import DirectiveLocation
  from .scalars import GraphQLBoolean, GraphQLString
label_desc: Use image node_id 1 for calling a global function with example usage: input_fields_to_list(input_fields) and returns: fields