"""Insert mapping.
        :meta private:
        """
        return {
            "dag_id": task.dag_id,
            "task_id": task.task_id,
            "run_id": run_id,
            "_try_number": 0,
            "hostname": "",
            "unixname": getuser(),
            "queue": task.queue,
            "pool": task.pool,
            "pool_slots": task.pool_slots,
            "priority_weight": task.priority_weight_total,
            "run_as_user": task.run_as_user,
            "max_tries": task.retries,
            "executor_config": task.executor_config,
            "operator": task.task_type,
            "custom_operator_name": getattr(task, "custom_operator_name", None),
            "map_index": map_index,
        }
    @reconstructor
    def init_on_load(self) -> None:
        """Initialize the attributes that aren't stored in the DB."""
        
        self._log = logging.getLogger("airflow.task")
        self.test_mode = False  
    @hybrid_property
    def try_number(self):