code: def func_positional_arg(func):
      if hasattr(func, "__wrapped__"):
          return func_positional_arg(func.__wrapped__)
  
      elif hasattr(func, "__code__"):
          all_args = func.__code__.co_argcount
          if func.__defaults__ is not None:
              kwargs = len(func.__defaults__)
          else:
              kwargs = 0
          return all_args - kwargs
      return 2
  
imports: from sklearn.datasets import make_classification
  from cuml.testing.utils import ClassEnumerator
  from cuml.internals.base import Base
  from cuml.internals.safe_imports import cpu_only_import
  import inspect
  import pytest
  import cuml
  import cuml.internals.mixins
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 1 for calling a global function with example usage: func_positional_arg(func) and returns: int, func_positional_arg, unknown