Method: Cnvrg::Experiment#send_restart_request

Defined in:
lib/cnvrg/experiment.rb

#send_restart_request(sha1 = nil) ⇒ Object



213
214
215
# File 'lib/cnvrg/experiment.rb', line 213

def send_restart_request(sha1=nil)
  Cnvrg::API.request(@base_resource + "experiment/check_spot_instance", 'POST', {exp_slug: @slug, end_commit: sha1})
end