benchling_api_client.models.table_note_part module

class TableNotePart

Bases: object

A table with rows and columns of text

__init__(links: Union[benchling_api_client.types.Unset, List[EntryLink]] = attr_dict['_links'].default, table: Union[benchling_api_client.types.Unset, EntryTable] = attr_dict['_table'].default, text: Union[benchling_api_client.types.Unset, str] = attr_dict['_text'].default, type: Union[benchling_api_client.types.Unset, TableNotePartType] = attr_dict['_type'].default, indentation: Union[benchling_api_client.types.Unset, int] = attr_dict['_indentation'].default) None

Method generated by attrs for class TableNotePart.

property additional_keys: List[str]
additional_properties: Dict[str, Any]
classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.table_note_part.T
get(key, default=None) Optional[Any]
property indentation: int

All notes have an indentation level - the default is 0 for no indent. For lists, indentation gives notes hierarchy - a bulleted list with children is modeled as one note part with indentation 1 followed by note parts with indentation 2, for example.

Array of links referenced in the caption via an @-mention, hyperlink, or the drag-n-dropped preview attached to the note.

property table: EntryTable

Actual tabular data with rows and columns of text on the note.

property text: str

The caption of the table.

to_dict() Dict[str, Any]
property type: TableNotePartType