benchling_sdk.apps.status.helpers module¶

ref(reference: Union[AaSequence, Blob, Box, Container, CustomEntity, DnaSequence, DnaOligo, Entry, Folder, Location, Mixture, Plate, RnaOligo, Molecule, RnaSequence, Request, WorkflowOutput, WorkflowTask]) → str¶

Ref.

Helper method for easily serializing a referenced object into a string embeddable in AppSessionMessageCreate content.

Example:

dna_sequence = benchling.dna_sequences.get_by_id(“seq_1234”) AppSessionMessageCreate(f”This is my DNA sequence {ref(dna_sequence)} for analysis”