code: def __init__(
      self,
      provider_uri="~/.qlib/qlib_data/cn_data",
      region=REG_CN,
      experiment_name="online_srv",
      task_config=task,
  ):
      qlib.init(provider_uri=provider_uri, region=region)
      self.experiment_name = experiment_name
      self.online_tool = OnlineToolR(self.experiment_name)
      self.task_config = task_config
  
file_path: qlib/examples/online_srv/update_online_pred.py
imports: import copy
  import fire
  import qlib
  from qlib.constant import REG_CN
  from qlib.model.trainer import task_train
  from qlib.workflow.online.utils import OnlineToolR
  from qlib.tests.config import CSI300_GBDT_TASK
label_desc: Use image node_id 1 to create a new UpdatePredExample object  with example: obj = UpdatePredExample(provider_uri, region, experiment_name, task_config)