code: def parse_int_literal(ast):
      if isinstance(ast, IntValue):
          num = int(ast.value)
          if MIN_INT <= num <= MAX_INT:
              return num
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/type/scalars.py
imports: from ..language.ast import BooleanValue, FloatValue, IntValue, StringValue
  from .definition import GraphQLScalarType
label_desc: Use image node_id 2 for calling a global function with example usage: parse_int_literal(ast) and returns: num