Ubiops

Latest version: v4.6.1

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

Scan your dependencies

Page 5 of 6

3.6.0

Changes

- Deployment/Pipeline version `memory_allocation` is now deprecated, use `instance_type` instead. Use `instance_types_list()` to list the available instance types for your organization.

Additions

- Add notification groups functionality
- Add Deployment/Pipeline version `monitoring` and `default_notification_group` for receiving updates on requests. The value references a notification group name.
- Add project users functionality

3.5.0

Changes

- Deployment `input_fields` and `output_fields` can now be updated using `deployments_update()`

Additions

- Add import and export functionality

3.4.0

Changes

- Add `deployment_mode` ('express' or 'batch', default 'express') to `DeploymentVersionCreate`
- Removed `python3.5` as language option
- Increased maximum `memory_allocation` to 16384 MiB
- Deployment (version) requests LIST/GET/CREATE
- Add status `cancelled` and `cancelled_pending`
- Add filter parameters to deployment/pipeline (version) requests LIST
- `start_date` and `end_date`
- `search_id`
- Add parameter `timeout` for deployment/pipeline (version) batch requests CREATE
- In usage per month, `month` is no longer used but changed to `start_date` and `end_date`
- In request schedules, `batch` parameter is no longer used
- For deployments, `batch=true` for deployment version `deployment_mode='batch'`, otherwise `batch=false`
- For pipelines, always `batch=true`
- Add parameter `metadata_only` to deployment (version) requests GET to retrieve only request metadata
- Add `service_users_get`: retrieve the permissions of a service user

Additions

- Add deployment (version) requests UPDATE, to cancel a request
- `deployment_requests_update`
- `deployment_version_requests_update`

3.3.0

Changes

- log filters:
- `request_id` → `deployment_request_id`
- deployment request results:
- `request_id` → `id`
- add `deployment`
- rename functions:
- `batch_deployment_requests_get` → `deployment_requests_get`
- `batch_deployment_requests_delete` → `deployment_requests_delete`
- `batch_deployment_requests_batch_get` → `deployment_requests_batch_get`
- `batch_deployment_requests_batch_delete` → `deployment_requests_batch_delete`
- `batch_deployment_requests_list` -> `deployment_requests_list`
- `batch_deployment_version_requests_get` → `deployment_version_requests_get`
- `batch_deployment_version_requests_delete` → `deployment_version_requests_delete`
- `batch_deployment_version_requests_batch_get` → `deployment_version_requests_batch_get`
- `batch_deployment_version_requests_batch_delete` → `deployment_version_requests_batch_delete`
- `batch_deployment_version_requests_list` → `deployment_version_requests_list`
- pipeline request results:
- `request_id` → `id`
- add `result` (the output connected to pipeline_end)
- update deployment_requests:
- `request_id` → `id`
- add `deployment`
- add `version`
- remove `request_data` → use `id`, `deployment`, and `version` to retrieve the deployment request
- remove `result` → use `id`, `deployment`, and `version` to retrieve the deployment request
- rename functions:
- `batch_pipeline_requests_get` → `pipeline_requests_get`
- `batch_pipeline_requests_delete` → `pipeline_requests_delete`
- `batch_pipeline_requests_batch_get` → `pipeline_requests_batch_get`
- `batch_pipeline_requests_delete` → `pipeline_requests_batch_delete`
- `batch_pipeline_requests_list` → `pipeline_requests_list`
- `batch_pipeline_version_requests_get` → `pipeline_version_requests_get`
- `batch_pipeline_version_requests_delete` → `pipeline_version_requests_delete`
- `batch_pipeline_version_requests_batch_get` → `pipeline_version_requests_batch_get`
- `batch_pipeline_version_requests_batch_delete` → `pipeline_version_requests_batch_delete`
- `batch_pipeline_version_requests_list` → `pipeline_version_requests_list`

Additions

- pipeline `output_type` and `output_fields` (optional)
- deployment version and pipeline version `request_retention_mode`

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

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.