Improved
SDK Version 1.9.0 Release
almost 2 years ago by Derek Gervais
Version 1.9.0 of the Benchling SDK adds beta support for Collaborations, expands parameter coverage for existing endpoints, and introduces changes to beta features for App Status and App Canvas. Additionally, there are several fixes to models.
What’s changing?
Added
(expand) Added support for the
returningparameter to the following endpoints:benchling.aa_sequences.get_by_id()benchling.aa_sequences.list()benchling.aa_sequences.bulk_get()benchling.blobs.get_by_id()benchling.blobs.bulk_get()benchling.boxes.list()benchling.containers.get_by_id()benchling.containers.list()benchling.containers.bulk_get()benchling.custom_entities.get_by_id()benchling.custom_entities.list()benchling.custom_entities.bulk_get()benchling.dna_oligos.get_by_id()benchling.dna_oligos.list()benchling.dna_sequences.get_by_id()benchling.dna_sequences.list()benchling.dna_sequences.bulk_get()benchling.entries.get_entry_by_id()benchling.entries.list_entries()benchling.entries.update_entry()benchling.entries.bulk_get_entries()benchling.entries.list_entry_templates()benchling.entries.get_entry_template_by_id()benchling.feature_libraries.get_by_id()benchling.feature_libraries.list()benchling.requests.get_by_id()benchling.requests.list()benchling.requests.bulk_get()benchling.rna_oligos.get_by_id()benchling.rna_oligos.list()benchling.rna_sequences.get_by_id()benchling.rna_sequences.list()benchling.rna_sequences.bulk_get()
(expand) Additional endpoints with new parameters:
email_any_ofonbenchling.users.list()custom_notation_idonbenchling.dna_oligos.get_by_id()custom_notation_idonbenchling.dna_oligos.list()custom_notation_idonbenchling.rna_oligos.get_by_id()custom_notation_idonbenchling.rna_oligos.list()custom_notation_idonbenchling.rna_sequences.get_by_id()custom_notation_idonbenchling.rna_sequences.list()
- Custom Notations are available as benchling.custom_notations
Collaborations are available in beta as:
benchling.v2.beta.collaborations.list()benchling.v2.beta.folders.list_collaborations()benchling.v2.beta.projects.list_collaborations()
- Added a new AuthorizationMethod at benchling_sdk.auth.bearer_token_auth.BearerTokenAuth.
Changed
- The default
RetryStrategyhas a higher backoff factor with removed jitter, which will cause eligible failed requests to retry over a longer period of time. - Listing assay results,
benchling.assay_results.list(), no longer requires aschema_idargument - App Status: The
SessionContextErrorProcessorwill now automatically write 400 Bad Request errors back as user error messages by default - App Canvas: Methods on
benchling_sdk.apps.helpers.canvas_helpers.CanvasBuilderwere renamed to better reflect that they return a new copy ofCanvasBuilder:disable()towith_disabled()enable()towith_enabled()
Fixed
LookupTableNotePartwas missing from the union ofEntryDate.notes, causinglookup_tablenotes to incorrectly deserialize toUnknownType- Corrected the signature of
get_authorization_headerforApiKeyAuthto acceptbase_url. This should not affect users unless theApiKeyAuthclass was extended and re-implemented with a different signature.
When is this happening?
Version 1.9.0 of the Benchling SDK is now live! Find the SDK in PyPI
