python/replicate/experiment.py
def stop(self):
        """
        Stop an experiment.

        Experiments running in a script will eventually timeout, but when running in a notebook,
        you are required to call this method to mark an experiment as stopped.
        """
        if self._heartbeat is not None:
            self._heartbeat.kill()
            self._heartbeat = None
        self._project._get_repository().delete(self._heartbeat_path())

        Stop an experiment.

        Experiments running in a script will eventually timeout, but when running in a notebook,
        you are required to call this method to mark an experiment as stopped.
        
Stop an experiment.
Experiments running in a script will eventually timeout, but when running in a notebook,
you are required to call this method to mark an experiment as stopped.
Stop an experiment . Experiments running in a script will eventually timeout but when running in a notebook you are required to call this method to mark an experiment as stopped .
def stop(self):
        if self._heartbeat is not None:
            self._heartbeat.kill()
            self._heartbeat = None
        self._project._get_repository().delete(self._heartbeat_path())
def stop ( self ) : if self . _heartbeat is not None : self . _heartbeat . kill ( ) self . _heartbeat = None self . _project . _get_repository ( ) . delete ( self . _heartbeat_path ( ) )
Stop an experiment.
Stop an experiment .
"""
        Stop an experiment.

        Experiments running in a script will eventually timeout, but when running in a notebook,
        you are required to call this method to mark an experiment as stopped.
        """
self