improved

SDK Version 1.8.0 Release

Version 1.8.0 of the Benchling SDK adds beta support for Datasets, and includes the promotion of a number of features from beta to GA including App Canvas , App Status, and Webhooks models. 1.8.0 also includes a minor update to the webhook verification helper, as well as the deprecation of some Benchling app methods. Finally, 1.8.0 fully sunsets support for Python 3.7.

Whatโ€™s changing?

Promoted

  • Benchling App Canvas endpoints are available in v2 stable GA in benchling.apps
    • create_canvas
    • get_canvas_by_id
    • update_canvas
    • archive_canvases
    • unarchive_canvases
  • Benchling App Session endpoints are available in v2 stable GA in benchling.apps
    • create_session
    • get_session_by_id
    • update_session
  • Webhook models are available as v0 stable in benchling_sdk.models.webhooks.v0
  • App Canvas Helpers in benchling_sdk.apps.helpers.canvas_helpers have been promoted to SDK beta stability
  • App Status Helpers in benchling_sdk.apps.helpers.session_helpers have been promoted to SDK beta stability

Added

  • Datasets are available as benchling.v2.beta.datasets

Changed

  • benchling_sdk.apps.helpers.webhook_helpers.verify() for verifying webhooks has been renamed to benchling_sdk.apps.helpers.webhook_helpers.verify_app_installation(). This method remains in SDK alpha stability.

Deprecated

  • A number of app-related features are now deprecated, including:
    • benchling.apps.create()
    • benchling.apps.update()
    • benchling.apps.archive()
    • benchling.apps.unarchive()

Sunset

  • Support for Python 3.7 support has been removed. The minimum supported version is now Python 3.8.

When is this happening?

Version 1.8.0 of the Benchling SDK is now live! Find the SDK in PyPI