Esempio n. 1
0
 def get_jobs_id(self, ti):
     """
     Get jobs associated with a Qubole commands
     :param ti: Task Instance of the dag, used to determine the Quboles command id
     :return: Job informations assoiciated with command
     """
     if self.cmd is None:
         cmd_id = ti.xcom_pull(key="qbol_cmd_id", task_ids=self.task_id)
     Command.get_jobs_id(self.cls, cmd_id)
Esempio n. 2
0
 def get_jobs_id(self, ti):
     """
     Get jobs associated with a Qubole commands
     :param ti: Task Instance of the dag, used to determine the Quboles command id
     :return: Job informations assoiciated with command
     """
     if self.cmd is None:
         cmd_id = ti.xcom_pull(key="qbol_cmd_id", task_ids=self.task_id)
     Command.get_jobs_id(self.cls, cmd_id)