code: def parse_float_literal(ast):
      if isinstance(ast, (FloatValue, IntValue)):
          return float(ast.value)
      return None
  
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 4 for calling a global function with example usage: parse_float_literal(ast) and returns: None, float