code: def test_class_enumerator_parameters():
      class SomeModule:
          class SomeClass(cuml.Base):
              def __eq__(self, other):
                  return type(other) == type(self)
  
      models1 = ClassEnumerator(module=SomeModule).get_models()
      models2 = ClassEnumerator(
          module=SomeModule, exclude_classes=[SomeModule.SomeClass]
      ).get_models()
      models3 = ClassEnumerator(
          module=SomeModule,
          custom_constructors={
              "SomeClass": lambda: SomeModule.SomeClass()
          },
      ).get_models()
  
      assert models1 == {"SomeClass": SomeModule.SomeClass}
      assert models2 == {}
      assert (
          len(models3) == 1
          and models3["SomeClass"]() == SomeModule.SomeClass()
      )
  
imports: import cuml
  from cuml.testing.utils import ClassEnumerator
label_desc: Use image node_id 4 for calling a global function with example usage: test_class_enumerator_parameters() and returns: unknown