class_docstr: Run facet containing information about mapped tasks.
class_docstr_tok: ["Run","facet","containing","information","about","mapped","tasks","."]
code: def from_task_instance(cls, task_instance):
      task = task_instance.task
      from airflow.providers.openlineage.utils.utils import (
          get_operator_class,
      )
  
      return cls(
          mapIndex=task_instance.map_index,
          operatorClass=f"{get_operator_class(task).__module__}.{get_operator_class(task).__name__}",
      )
  
file_path: airflow/airflow/providers/openlineage/plugins/facets.py
imports: from __future__ import annotations
  from attrs import define
  from openlineage.client.facet import BaseFacet
  from openlineage.client.utils import RedactMixin
label_desc: Use image node_id 1 for calling the AirflowMappedTaskRunFacet obj's underlying member method code with example usage: obj.from_task_instance(cls, task_instance) and returns: cls