Ubiops

Latest version: v4.4.1

Safety actively analyzes 638418 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

3.2.0

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

3.1.0

Changes
- Pipeline attachments structure changed. A 'sources' layer was added to allow attachments from multiple sources to one destination object. This requires a change to `AttachmentsCreate`: `source_name` is changed to `sources`. `sources` should be a list of `AttachmentSourcesCreate` items, in which the `source_name` and `mapping` can be defined as before.
- Deployment version file upload (`versions_file_upload`) changed to revisions (`revisions_file_upload`), which returns a `revision` and `build` id.
- Deployment version file download (`versions_file_download`) changed to revisions (`revisions_file_download`), for which a `revision_id` is required. The active revision id can be obtained via `versions_get`.
- Deployment version status changed. It is now one of `['unavailable', 'building', 'available']`. The status of the active build can be obtained using `builds_get()`.
- Request `time_last_updated` changed to `time_started` and `time_completed`.

Additions
- Revision methods: list, get, file_upload, file_download
- Build methods: list, get

3.0.0

Changes
- Models renamed to Deployments
- Connector methods, including configurations, are removed. All already created connectors will be migrated to deployments with the same name, with a label `type:connector`.
- Subscription methods are removed
- Renamed batch_model_requests_batch_collect to batch_deployment_requests_batch_get
and batch_pipeline_requests_batch_collect to batch_pipeline_requests_batch_get
- Renamed scheduled_requests_[create, get, list, update, delete] to request_schedules_[create, get, list, update, delete]
- Renamed model_requests_create to deployment_requests_create and pipelines_requests to pipeline_requests_create

- Model version methods are renamed to version methods:
- model_versions_[create, get, list, update, delete] -> versions_[create, get, list, update, delete]
- model_versions_file_[upload, download] -> versions_file_[upload, download]
- model_version_environment_variables_[create, get, list, update, delete] -> version_environment_variables_[create, get, list, update, delete]
- In metrics_get, object_type="model_version" changed to object_type="version"
- In the filters specified in LogsCreate, the key "model_version" changed to "version"

Additions
- Audit events, for projects, deployments and pipelines
- Labels for deployments and versions
- Description for versions
- Possibility to copy environment variables from one deployment (version) to the other.

2.1.0

- Includes request schedules
- Includes project usage and resources
- Extends example notebook with pipeline example
- Updates 'last_modified' and 'last_updated_date' to 'last_updated', for models, versions, connectors, credentials and pipelines
- Updates 'file_last_updated_date' to 'file_last_updated' for model versions

2.0.1

Initial release of UbiOps python library.

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.