Skip to content

Commit

Permalink
Prepare client release v2.1.0 (#12225)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: efd779e1f92c500d63e84ed7fab1ed6446738fd6
  • Loading branch information
stephencpope authored and Descartes Labs Build committed Oct 5, 2023
1 parent 2978701 commit af0d4fb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The documentation for the latest release can be found at [https://docs.descartes
Changelog
=========

## [2.1.0] - 2023-09-21
## [2.1.0] - 2023-10-04

## General

Expand All @@ -43,21 +43,23 @@ Changelog
formerly included (e.g. TensorFlow, SciKit Learn, PyTorch). This has reduced the base image size by
an order of magnitude, making function build times and job startup overhead commensurately faster.
Any functions which require such additional packages can add them in as needed via the `requirements=`
parameter. While doing so will increase image size, it will generally still be much better than the prior
"Everything and the kitchen sink" approach. Existing Functions with older images will continue
parameter. While doing so will increase image size, it will generally still be much smaller and faster
than the prior "Everything and the kitchen sink" approach. Existing Functions with older images will continue
to work as always, but any newly minted `Function`` using the new client will be using one of the new
slim images.

- Base images are now available for Python3.10 and Python3.11, in addition to Python3.8 and Python3.9.

- Job results and logs are now integrated with Catalog Storage, so that results and logs can be
searched and retrieved directly using the Catalog client as well as using the methods in the Compute
client.
client. Results are organized under `storage_type=StorageType.COMPUTE`, while logs are organized under
`storage_type=StorageType.LOGS`.

- The new `ComputeResult` class can be used to wrap results from a `Function`, allowing the user to
specify additional attributes for the result which will be stored in the Catalog `Blob` metadata for
the result. This allows the function to specify properties such as `geometry`, `description`,
`expires` and `extra_attributes` for the result `Blob`. The use of `ComputeResult` is not required.
`expires`, `extra_attributes`, `writers` and `readers` for the result `Blob`. The use of
`ComputeResult` is not required.

- A `Job` can now be assigned arbitrary tags (strings), and searched based on them.

Expand Down

0 comments on commit af0d4fb

Please sign in to comment.