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