class_docstr: Injects TI key, triggerer job_id, and trigger_id into the log record.
  
  :meta private:
class_docstr_tok: ["Injects","TI","key",",","triggerer","job_id",",","and","trigger_id","into","the","log","record",".",":","meta","private",":"]
code: def filter(self, record):
      for var in (
          ctx_task_instance,
          ctx_trigger_id,
          ctx_trigger_end,
          ctx_indiv_trigger,
      ):
          val = var.get(None)
          if val is not None:
              setattr(record, var.name, val)
      return True
  
imports: from __future__ import annotations
  import asyncio
  import logging
  from contextvars import ContextVar
  from copy import copy
  from logging.handlers import QueueHandler
  from typing import TYPE_CHECKING
label_desc: Use image node_id 1 for calling the TriggerMetadataFilter obj's underlying member method code with example usage: obj.filter(record) and returns: True