benchling_api_client.models.entry_link module¶

class EntryLink¶

Bases: object

Links are contained within notes to reference resources that live outside of the entry. A link can target an external resource via an http(s):// hyperlink or a Benchling resource via @-mentions and drag-n-drop.

__init__(id: Union[benchling_api_client.types.Unset, str] = attr_dict['_id'].default, type: Union[benchling_api_client.types.Unset, EntryLinkType] = attr_dict['_type'].default, web_url: Union[benchling_api_client.types.Unset, None, str] = attr_dict['_web_url'].default) → None¶

Method generated by attrs for class EntryLink.

property additional_keys: List[str]¶
additional_properties: Dict[str, Any]¶
classmethod from_dict(src_dict: Dict[str, Any]) → benchling_api_client.models.entry_link.T¶
get(key, default=None) → Optional[Any]¶
property id: str¶

For linked Benchling resources, this will be the ID of that resource (e.g., ‘seq_RhYGVnHF’). Omitted for “link” types.

to_dict() → Dict[str, Any]¶
property type: EntryLinkType¶

The type of resource being linked. For hyperlinks: ‘link’. For linked Benchling resources, one of: ‘user’, ‘request’, ‘entry’, ‘stage_entry’, ‘protocol’, ‘workflow’, ‘custom_entity’, ‘aa_sequence’, ‘dna_sequence’, ‘batch’, ‘box’, ‘container’, ‘location’, ‘plate’.

property web_url: Optional[str]¶

Canonical URL of the linked Benchling resource (if you have at least READ authorization for that resource), or the explicit URL provided as hyperlink for “link” types. Note: locations do not currently have a URL.

Benchling SDK

Navigation

Package contents:

  • benchling_sdk package
  • benchling_api_client package
    • Subpackages
      • benchling_api_client.api package
      • benchling_api_client.models package
        • Submodules
    • Submodules

Related Topics

  • Documentation overview
    • benchling_api_client package
      • benchling_api_client.models package
        • Previous: benchling_api_client.models.entry_external_file_by_id module
        • Next: benchling_api_client.models.entry_link_type module

Quick search

©2022, Benchling. | Powered by Sphinx 4.5.0 & Alabaster 0.7.12 | Page source