class_docstr: Update the label in the recorder
  
  Assumption
  - The label is generated from record_temp.SignalRecord.
class_docstr_tok: ["Update","the","label","in","the","recorder","Assumption","-","The","label","is","generated","from","record_temp.SignalRecord","."]
code: def __init__(self, record: Recorder, to_date=None, **kwargs):
      super().__init__(
          record, to_date=to_date, fname="label.pkl", **kwargs
      )
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Optional
  import pandas
  from qlib import get_module_logger
  from qlib.data import D
  from qlib.data.dataset import Dataset, DatasetH, TSDatasetH
  from qlib.data.dataset.handler import DataHandlerLP
  from qlib.model import Model
  from qlib.utils import get_date_by_shift
  from qlib.workflow.recorder import Recorder
  from qlib.workflow.record_temp import SignalRecord
label_desc: Use image node_id 1 to create a new LabelUpdater object from inherited base classes: DSBasedUpdater with example: obj = LabelUpdater(record, to_date)