code: def __init__(self, pyfunc, signature, capsule):
      self._keep_alive = capsule
      get_name = ctypes.pythonapi.PyCapsule_GetName
      get_name.restype = ctypes.c_char_p
      get_name.argtypes = (ctypes.py_object,)
  
      raw_signature = get_name(capsule)
  
      get_pointer = ctypes.pythonapi.PyCapsule_GetPointer
      get_pointer.restype = ctypes.c_void_p
      get_pointer.argtypes = (ctypes.py_object, ctypes.c_char_p)
      self._func_ptr = get_pointer(capsule, raw_signature)
  
      self._signature = signature
      self._pyfunc = pyfunc
  
imports: import ctypes
  import importlib
  import re
  from collections.abc import Mapping
  from dataclasses import dataclass
  from typing import Any, Callable, Optional, cast
  import numba
  import numpy
  from numpy.typing import DTypeLike
  from scipy import LowLevelCallable
label_desc: Use image node_id 1 to create a new _CythonWrapper object from inherited base classes: numba.types with example: obj = _CythonWrapper(pyfunc, signature, capsule)