Changes
- Pipeline objects:
- `core_api.pipeline_objects_*` → `core_api.pipeline_version_objects_*`
- Pipeline attachments:
- `core_api.pipeline_object_attachments_*` → `core_api.pipeline_version_object_attachments_*`
- Log filters:
- `version` → `deployment_version`
- `pipeline_request_id` only allowed in combination with `pipeline_version`
- Metrics
- object_type: `version` → `deployment_version`, `pipeline` → `pipeline_version`
- object_id: pipeline id → pipeline version id
- Renamed pipeline_request_id to request_id:
- `core_api.batch_pipeline_requests_[get/delete](project_name, pipeline_name, pipeline_request_id)` → `core_api.batch_pipeline_requests_[get/delete](project_name, pipeline_name, request_id)`
- Renamed batch deployment requests to a specific version:
- `batch_deployment_requests_*` to `batch_deployment_version_requests_*`
- Renamed:
- `versions_[create/list/get/update/delete]` → `deployment_versions_[create/list/get/update/delete]`
- `Version[Create/Update]` → `DeploymentVersion[Create/Update]`
- `version_environment_variables_*` → `deployment_version_environment_variables_*`
Additions
- Create a pipeline version:
- `core_api.pipeline_versions_create(project_name, pipeline_name, data=ubiops.PipelineVersionCreate(version=”pipeline-version-name”))`
- Request to a pipeline version:
- `core_api.batch_pipeline_version_requests_get(project_name, pipeline_name, version, request_id)`
- Request to deployment default version:
- `core_api.batch_deployment_requests_[create/list](project_name, deployment_name)`
- `core_api.batch_deployment_requests_[get/delete](project_name, deployment_name, request_id)`
- Log filters: `pipeline_version`
- Blob update:
- `core_api.blobs_update(project_name, blob_id, file, blob_ttl)`