sbol3.attachment
¶
Module Contents¶
Classes¶
The purpose of the Attachment class is to serve as a general |
Functions¶
|
- class Attachment(identity: str, source: str, *, format: Optional[str] = None, size: int = None, hash: str = None, hash_algorithm: str = None, namespace: str = None, attachments: List[str] = None, name: str = None, description: str = None, derived_from: List[str] = None, generated_by: List[str] = None, measures: List[SBOLObject] = None, type_uri: str = SBOL_ATTACHMENT)¶
Bases:
TopLevel
The purpose of the Attachment class is to serve as a general container for data files, especially experimental data files. It provides a means for linking files and metadata to SBOL designs.
- accept(visitor: Any) Any ¶
Invokes visit_attachment on visitor with self as the only argument.
- Parameters
visitor (Any) – The visitor instance
- Raises
AttributeError – If visitor lacks a visit_attachment method
- Returns
Whatever visitor.visit_attachment returns
- Return type
Any
- validate(report: ValidationReport = None) ValidationReport ¶
- build_attachment(identity: str, *, type_uri: str = SBOL_COMPONENT) SBOLObject ¶