submitit/core/job_environment.py
def _handle_signals(self, paths: JobPaths, submission: DelayedSubmission) -> None:
        """Set up signals handler for the current executable.

        The default implementation checkpoint the given submission and requeues it.
        @plugin-dev: Should be adapted to the signals used in this cluster.
        """
        handler = SignalHandler(self, paths, submission)
        signal.signal(signal.SIGUSR1, handler.checkpoint_and_try_requeue)
        signal.signal(signal.SIGTERM, handler.bypass)
Set up signals handler for the current executable.

        The default implementation checkpoint the given submission and requeues it.
        @plugin-dev: Should be adapted to the signals used in this cluster.
        
Set up signals handler for the current executable.
The default implementation checkpoint the given submission and requeues it.
Set up signals handler for the current executable . The default implementation checkpoint the given submission and requeues it .
def _handle_signals(self, paths: JobPaths, submission: DelayedSubmission) -> None:
        handler = SignalHandler(self, paths, submission)
        signal.signal(signal.SIGUSR1, handler.checkpoint_and_try_requeue)
        signal.signal(signal.SIGTERM, handler.bypass)
def _handle_signals ( self , paths : JobPaths , submission : DelayedSubmission ) -> None : handler = SignalHandler ( self , paths , submission ) signal . signal ( signal . SIGUSR1 , handler . checkpoint_and_try_requeue ) signal . signal ( signal . SIGTERM , handler . bypass )
Set up signals handler for the current executable.
Set up signals handler for the current executable .
"""Set up signals handler for the current executable.

        The default implementation checkpoint the given submission and requeues it.
        @plugin-dev: Should be adapted to the signals used in this cluster.
        """
self
paths
JobPaths
submission
DelayedSubmission
dev
Should be adapted to the signals used in this cluster.
Should be adapted to the signals used in this cluster .