openlayer.Project.push#

Project.push(*args, **kwargs)#

Pushes the commited resources to the platform.

Returns:
ProjectVersion

An object that is used to check for upload progress and test statuses. Also contains other useful information about a project version.

Notes

  • To use this method, you must first have committed your changes with the commit method.

Examples

Related guide: How to upload datasets and models for development.

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()