code: def coerce_float(value):
      if isinstance(value, float):
          return value
      return float(value)
  
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 3 for calling a global function with example usage: coerce_float(value) and returns: float, value