Method: Cnvrg::Experiment#remote_notebook

Defined in:
lib/cnvrg/experiment.rb

#remote_notebook(instance_type, commit, data, data_commit, notebook_type, ds_sync_options = 0, data_query = nil, image = nil, datasets = nil) ⇒ Object



135
136
137
138
139
140
141
142
# File 'lib/cnvrg/experiment.rb', line 135

def remote_notebook(instance_type, commit, data, data_commit, notebook_type,ds_sync_options=0,data_query=nil, image = nil, datasets = nil)
  response = Cnvrg::API.request("users/#{@owner}/projects/#{@project_slug}/notebook/remote", 'POST', { instance_type: instance_type, dataset_slug:data,
                                                                                                       dataset_commit: data_commit, image_slug:image,
                                                                                                       datasets: datasets,
                                                                                                       commit:commit, notebook_type:notebook_type, dataset_sync_options:ds_sync_options,
                                                                                                       dataset_query: data_query })
  return response
end