sbol3.interface

Module Contents

Classes

Interface

The Interface class is a way of explicitly specifying the interface

Functions

build_interface(→ SBOLObject)

class Interface(*, inputs: List[str] = None, outputs: List[str] = None, nondirectionals: List[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_INTERFACE)

Bases: Identified

The Interface class is a way of explicitly specifying the interface of a Component.

accept(visitor: Any) Any

Invokes visit_interface on visitor with self as the only argument.

Parameters

visitor (Any) – The visitor instance

Raises

AttributeError – If visitor lacks a visit_interface method

Returns

Whatever visitor.visit_interface returns

Return type

Any

build_interface(identity: str, *, type_uri: str = SBOL_INTERFACE) SBOLObject