code: def he_pm(request, pm):
      from pluggy import HookspecMarker
  
      hookspec = HookspecMarker("example")
  
      class Hooks(object):
          @hookspec
          def he_method1(self, arg):
              return arg + 1
  
      pm.add_hookspecs(request.param(Hooks))
      return pm
  
label_desc: Use image node_id 1 for calling a global function with example usage: he_pm(request, pm) and returns: pm, unknown