Пример #1
0
 def get_external_sensor_execution_data(self, instance, repository_handle,
                                        name, last_completion_time,
                                        last_run_key):
     return get_external_sensor_execution(self._recon_repo,
                                          instance.get_ref(), name,
                                          last_completion_time,
                                          last_run_key)
Пример #2
0
 def get_external_sensor_execution_data(
     self,
     instance: DagsterInstance,
     repository_handle: RepositoryHandle,
     name: str,
     last_completion_time: Optional[float],
     last_run_key: Optional[str],
 ) -> Union["ExternalSensorExecutionData", "ExternalSensorExecutionErrorData"]:
     return get_external_sensor_execution(
         self._recon_repo, instance.get_ref(), name, last_completion_time, last_run_key
     )