Orion Client Links
Copyright (C) 2023 Cadence Design Systems, Inc. (Cadence)
Orion Type Link
Record Type Link
- class orionclient.links.RecordLink(resource, record_id, field_name=None)
A link to a specific OEMolRecord within a Dataset. Optional to associate an OEField with the link. Inherits from OrionLink.
- get_field(include_meta=True)
Retrieves the OEField associated with the link
- Returns:
OEField
- Raises:
OrionLinkError – If link does not contain a field name
- get_orion_resource()
Retrieves the Orion Resource that indicates the base Orion resource that the linked resource is stored in.
- get_record()
Retrieves the record that the link is associated with
- Returns:
Record
- Return type:
- Raises:
OrionLinkError – If unable to find the specified record