code: def validator(request):
      # Validator with or without extras
      return FlaglistValidator(
          "prop", "parent", flags=FLAGS, extras=request.param
      )
  
imports: import itertools
  import pytest
  from _plotly_utils.basevalidators import FlaglistValidator
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: validator(request) and returns: FlaglistValidator