code: def __init__(self, namespace, name, opts):
      self.namespace = namespace
      self.function = function = getattr(namespace, name)
      self.name = name
      self.argnames, self.kwargnames = varnames(function)
      self.opts = opts
      self.argnames = ["__multicall__"] + list(self.argnames)
      self.warn_on_impl = opts.get("warn_on_impl")
  
imports: import inspect
  import sys
  import warnings
  from .callers import _legacymulticall, _multicall
label_desc: Use image node_id 1 to create a new HookSpec object from inherited base classes: object with example: obj = HookSpec(namespace, name, opts)