code: def query(*fields):
      return ast.Document(
          definitions=[
              ast.OperationDefinition(
                  operation="query",
                  selection_set=ast.SelectionSet(
                      selections=list(selections(*fields))
                  ),
              )
          ]
      )
  
imports: from collections.abc import Iterable
  import decimal
  from functools import partial
  from wandb_graphql.language import ast
  from wandb_graphql.language.printer import print_ast
  from wandb_graphql.type import GraphQLField, GraphQLList, GraphQLNonNull, GraphQLEnumType
  from .utils import to_camel_case
label_desc: Use image node_id 4 for calling a global function with example usage: query() and returns: ast