Skip to content

v3.2.1

Compare
Choose a tag to compare
@stephencpope stephencpope released this 21 Oct 17:16
· 5 commits to master since this release

Authentication

  • The links for interacting with login and token generation have been updated to refer to https://app.descarteslabs.com.

Catalog

  • All CatalogObject classes which support the owners, writers, and readers fields have been refactored to derive this support from the new AuthCatalogObject. This change does not affect the behavior of any of these classes. The methods AuthCatalogObject.user_is_owner(), AuthCatalogObject.user_can_write(), and AuthCatalogObject.user_can_read() have been added to allow testing of permissions prior to attempting an operation such as updating or deleting the object.
  • EventSchedule now has a read-only expires attribute which indicates when the schedule will be expired and deleted.
  • EventSubscription now has a read-only owner_role_arn field which contains the AWS Role which will be used by certain EventRule targets that reside in an external AWS account.
  • EventRule has been enhanced to support SQS Queue targets.
  • Several new helper classes for use with EventSubscription are now supported: EventSubscriptionSqsTarget, NewImageEventSubscription, NewStorageEventSubscription, NewVectorEventSubscription, and ComputeFunctionCompletedEventSubscription. The latter supports events generated by the Compute service as described below.

Compute

  • The Compute service now generates a compute-function-completed event every time the number of outstanding (pending or running) jobs transitions to 0, akin to the Function.wait_for_completion() method. These can be used with the Catalog service events support to trigger other operations.