Beispiel #1
0
 def requires(self) -> List[luigi.Task]:
     return [
         self.project,  # I2B2 project
         SqlScriptTask(script=self.script, param_vars=self.variables),
         SqlScriptTask(script=Script.cdm_harvest_init,
                       param_vars=self.variables)
     ]
Beispiel #2
0
 def requires(self) -> List[luigi.Task]:
     return [
         self.project,  # I2B2 project
         SqlScriptTask(script=self.script,
                       param_vars=self.variables),
         HarvestInit.script_with_vars(self.variables)
     ]
Beispiel #3
0
 def run(self) -> None:
     SqlScriptTask.run_bound(self, script_params=dict(chunk_qty=str(self.patient_chunks)))
Beispiel #4
0
 def run(self) -> None:
     SqlScriptTask.run_bound(self, script_params=dict(
         patient_num_first=self.patient_num_first, patient_num_last=self.patient_num_last))
Beispiel #5
0
 def script_with_vars(self, variables: Environment) -> SqlScriptTask:
     return SqlScriptTask(script=self.script,
                          param_vars=variables)
Beispiel #6
0
 def run(self) -> None:
     SqlScriptTask.run_bound(self,
                             script_params=dict(chunk_qty=self.bene_chunks))
Beispiel #7
0
 def requires(self) -> List[luigi.Task]:
     return SqlScriptTask.requires(self) + self.mappings
Beispiel #8
0
 def run(self) -> None:
     SqlScriptTask.run_bound(self, script_params=dict(chunk_qty=str(self.patient_chunks)))
Beispiel #9
0
 def run(self) -> None:
     SqlScriptTask.run_bound(self, script_params=dict(
         patient_num_first=self.patient_num_first, patient_num_last=self.patient_num_last))