improved

SDK Version 1.17.0 Release Notes

Version 1.17.0 of the Benchling SDK adds support for more API endpoints related to molecular biology and user membership, removes deprecated classes, and relaxes the dependency version constraint on the third-party package attrs.

What’s Changing?

Added

  • New service benchling.v2.stable.codon_usage_tables. See API reference for Codon Usage Tables .
  • New service benchling.v2.stable.enzymes. See API reference for Enzymes .
  • New service benchling.v2.stable.monomers. See API reference for Monomers .
  • In benchling.v2.stable.aa_sequences, new methods back_translate, match_amino_acids, and search. See API reference for AA Sequences .
  • In benchling.v2.stable.dna_sequences, new method optimize_codons. See API reference for DNA Sequences .
  • In benchling.v2.stable.organizations, new methods get_membership, list_memberships, create_membership, update_membership, and delete_membership. See API reference for Organizations .
  • In benchling.v2.stable.teams, new methods create, update, get_membership, list_memberships, create_membership, update_membership, and delete_membership. See API reference for Teams .
  • In benchling_sdk.models.webhooks.v0, new webhook class WorkflowTaskGroupMappingCompletedWebhookV2.
  • In benchling_sdk_models, updated AssayResultsCreateResponse, AssayResultsCreateErrorResponse, AssayRunsBulkCreateResponse, and AssayRunsBulkCreateErrorResponse to correctly reflect how error results are reported for these operations.

Changed

  • The SDK no longer has a maximum version constraint on the attrs dependency. Previously, the maximum version was 23.x. The constraint was removed because attrs has relatively frequent releases which are unlikely to affect the SDK’s usage of its basic features. We still recommend that you specify a constraint for attrs if you are using it in your own project; this change simply means the SDK will not interfere with your choice of version for this package.

Deprecated

Removed

  • In benchling_sdk.models.webhooks.v0, removed CanvasInitializeWebhookV0 and CanvasInteractionWebhookV0. Use CanvasInitializeWebhookV2 and CanvasInteractionWebhookV2 instead. See: Explicit Webhook Subscriptions and Webhook Version Update
  • In benchling_sdk.models.webhooks.v0, removed EventCreatedWebhookV0Beta. Use more specific classes for whichever events you want to subscribe to, such as EntryCreatedWebhookV2.

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