sbol3.compref
Module Contents
Classes
ComponentReference can be used to reference Features within |
Functions
|
- class ComponentReference(in_child_of: SubComponent | str, refers_to: sbol3.feature.Feature | str, *, roles: List[str] = None, orientation: str = None, name: str = None, description: str = None, derived_from: List[str] = None, generated_by: List[str] = None, measures: List[SBOLObject] = None, identity: str = None, type_uri: str = SBOL_COMPONENT_REFERENCE)
Bases:
sbol3.feature.Feature
ComponentReference can be used to reference Features within SubComponents.
- accept(visitor: Any) Any
Invokes visit_component_reference on visitor with self as the only argument.
- Parameters:
visitor (Any) – The visitor instance
- Raises:
AttributeError – If visitor lacks a visit_component_reference method
- Returns:
Whatever visitor.visit_component_reference returns
- Return type:
Any
- validate(report: ValidationReport = None) ValidationReport
- build_component_reference(identity: str, *, type_uri: str = SBOL_COMPONENT_REFERENCE) SBOLObject