sbol3.localsub
Module Contents
Classes
LocalSubComponent serves as a way to create a placeholder in more |
Functions
|
- class LocalSubComponent(types: str | list[str], *, locations: Location | List[Location] = None, 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_LOCAL_SUBCOMPONENT)
Bases:
sbol3.feature.Feature
LocalSubComponent serves as a way to create a placeholder in more complex Components, such as a variable to be filled in later or a composite that exists only within the context of the parent Component.
- accept(visitor: Any) Any
Invokes visit_local_sub_component on visitor with self as the only argument.
- Parameters:
visitor (Any) – The visitor instance
- Raises:
AttributeError – If visitor lacks a visit_local_sub_component method
- Returns:
Whatever visitor.visit_local_sub_component returns
- Return type:
Any
- build_local_subcomponent(identity: str, *, type_uri: str = SBOL_LOCAL_SUBCOMPONENT) SBOLObject