code: def validator(request):
      return NumberValidator("prop", "parent")
  
imports: import pytest
  from pytest import approx
  from _plotly_utils.basevalidators import NumberValidator
  import numpy
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: validator(request) and returns: NumberValidator