MCPcopy Create free account
hub / github.com/apache/airflow / terminate

Method terminate

airflow/utils/dag_processing.py:433–443  ·  view source on GitHub ↗

Send termination signal to DAG parsing processor manager and expect it to terminate all DAG file processors.

(self)

Source from the content-addressed store, hash-verified

431 return self._all_files_processed
432
433 def terminate(self):
434 """
435 Send termination signal to DAG parsing processor manager
436 and expect it to terminate all DAG file processors.
437 """
438 if self._process and self._process.is_alive():
439 self.log.info("Sending termination message to manager.")
440 try:
441 self._parent_signal_conn.send(DagParsingSignal.TERMINATE_MANAGER)
442 except ConnectionError:
443 pass
444
445 def end(self):
446 """

Callers 3

set_file_pathsMethod · 0.45
terminateMethod · 0.45

Calls 3

is_aliveMethod · 0.45
infoMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected