docstr: Perform custom loading logic if `full_name` == :attr:`module_name`
docstr_tok: ["Perform","custom","loading","logic","if","`","full_name","`","==",":","attr",":","`","module_name","`"]
code: def find_spec(self, full_name, path=None, target=None):
      """Perform custom loading logic if `full_name` == :attr:`module_name`"""
      if full_name == self.module_name:
          spec = super().find_spec(full_name, path, target)
  
          if (
              self.asset_name
          ):  # Some loaders need `asset_name` (like `TraceLoader`). Others don't
              loader = self.custom_loader(
                  full_name, spec.origin, self.asset_name
              )
          else:
              loader = self.custom_loader(full_name, spec.origin)
  
          return ModuleSpec(full_name, loader)
  
file_path: hyperparameter_hunter/hyperparameter_hunter/importer.py
imports: from hyperparameter_hunter.settings import G
  from hyperparameter_hunter.tracers import ArgumentTracer, LocationTracer
  from importlib.machinery import PathFinder, ModuleSpec, SourceFileLoader
  from pkg_resources import get_distribution
  import sys
label_desc: Use image node_id 2 for calling the Interceptor obj's underlying member method code with example usage: obj.find_spec(full_name, path, target) and returns: ModuleSpec