class_docstr: Base class for all Airflow sensor decorators.
docstr: Subclasses will parse the decorator arguments to
  Airflow task serializable arguments.
docstr_tok: ["Subclasses","will","parse","the","decorator","arguments","to","Airflow","task","serializable","arguments","."]
code: def serialize_operator_args(self):
      """
      Subclasses will parse the decorator arguments to
      Airflow task serializable arguments.
      """
      task_args = dict(**self.attributes)
      del task_args["name"]
      if task_args["description"] is not None:
          task_args["doc"] = task_args["description"]
      del task_args["description"]
      task_args["do_xcom_push"] = True
      return task_args
  
file_path: metaflow/metaflow/plugins/airflow/sensors/base_sensor.py
imports: import uuid
  from metaflow.decorators import FlowDecorator
  from ..exception import AirflowException
  from ..airflow_utils import AirflowTask, id_creator, TASK_ID_HASH_LEN
label_desc: Use image node_id 2 for calling the AirflowSensorDecorator obj's underlying member method code with example usage: obj.serialize_operator_args() and returns: task_args