openlayer.OpenlayerClient.push#
- OpenlayerClient.push(project_id)#
Pushes the commited resources to the platform.
Notes
- To use this method, you must first have committed your changes with the
commit
method.
- To use this method, you must first have committed your changes with the
Examples
Let’s say you have a project with a model and a dataset staged and committed. You can confirm these resources are indeed in the staging area using the
status
method:>>> project.status()
You should see the staged resources as well as the commit message associated with them.
Now, you can push the resources to the platform with:
>>> project.push()