UbiOps version 2.32.0¶
Client library version
Python client library version for this release: 4.7.0
CLI version for this release: 2.24.0
On the 19th of December 2024 we have released new functionality and made improvements to our UbiOps SaaS product. An overview of the changes is given below.
Support for streaming requests for pipelines¶
We added support for streaming request responses of deployments in release 2.31.0. We now also added support for this functionality in pipelines. If you create a streaming request to your pipeline, any streamed updates from any of the objects in your pipeline will be streamed back over the HTTP connection used to create the request. We also added a utility function to our Python client library to make it easy to handle streaming pipeline requests. You can see an example below:
import json
import ubiops
client = ubiops.ApiClient(ubiops.Configuration(api_key={"Authorization": API_TOKEN}))
api = ubiops.CoreApi(client)
project_name = 'project-name-example'
pipeline_name = 'pipeline-name-example'
version = 'version-example'
data = 'data example'
full_response = False # Whether or not to return the full response in the end as well (optional)
# Create a streaming pipeline request
for item in ubiops.utils.stream_pipeline_request(
client=api_client,
project_name=project_name,
pipeline_name=pipeline_name,
version=version,
data=data,
timeout=timeout,
full_response=full_response,
):
print(item, end = '')
Request details page in the WebApp¶
To make it easier to inspect specific requests in the WebApp we added a request details page for both deployment and pipeline requests. You can use this page to follow the progress of your request, or to share the details of a specific request with a team member.
Project environment variables now available in WebApp¶
It is now possible to create and manage your project environment variables via the WebApp as well. You can find them under Project Admin > Project Settings > Environment variables.
Open up multiple ports for port forwarding via WebApp¶
Opening up multiple ports for port forwarding was until now only possible via our API. We have added support for doing so in the WebApp as well.
Miscellaneous & deprecations¶
We also made some miscellaneous changes and improvements:
- We removed
deployment_timeout
and deprecatedpipeline_timeout
for express pipeline requests. There is now only a single timeout that you need to pass in your pipeline requests. - Performance improvements under the hood.