sbol3.localsub

Classes

LocalSubComponent

LocalSubComponent serves as a way to create a placeholder in more

Functions

build_local_subcomponent(→ sbol3.SBOLObject)

Module Contents

class LocalSubComponent(types: sbol3.typing.Union[str, list[str]], *, locations: sbol3.typing.Union[sbol3.Location, sbol3.typing.List[sbol3.Location]] = None, roles: sbol3.typing.List[str] = None, orientation: str = None, name: str = None, description: str = None, derived_from: sbol3.typing.List[str] = None, generated_by: sbol3.typing.List[str] = None, measures: sbol3.typing.List[sbol3.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

locations
types: sbol3.typing.uri_list
build_local_subcomponent(identity: str, *, type_uri: str = SBOL_LOCAL_SUBCOMPONENT) sbol3.SBOLObject