python/replicate/experiment.py
def refresh(self):
        """
        Update this experiment with the latest data from the repository.
        """
        repository = self._project._get_repository()
        data = json.loads(
            repository.get("metadata/experiments/{}.json".format(self.id))
        )
        fields = experiment_fields_from_json(data)
        for k, v in fields.items():
            setattr(self, k, v)
        for chk in self.checkpoints:
            chk._experiment = self

        Update this experiment with the latest data from the repository.
        
Update this experiment with the latest data from the repository.
Update this experiment with the latest data from the repository .
def refresh(self):
        repository = self._project._get_repository()
        data = json.loads(
            repository.get("metadata/experiments/{}.json".format(self.id))
        )
        fields = experiment_fields_from_json(data)
        for k, v in fields.items():
            setattr(self, k, v)
        for chk in self.checkpoints:
            chk._experiment = self
def refresh ( self ) : repository = self . _project . _get_repository ( ) data = json . loads ( repository . get ( "metadata/experiments/{}.json" . format ( self . id ) ) ) fields = experiment_fields_from_json ( data ) for k , v in fields . items ( ) : setattr ( self , k , v ) for chk in self . checkpoints : chk . _experiment = self
Update this experiment with the latest data from the repository.
Update this experiment with the latest data from the repository .
"""
        Update this experiment with the latest data from the repository.
        """
self