Notes

Below delivers the documentation details for Note, the atomical unit of data that flows across a Graphbook pipeline.

Warning

Notes are now deprecated as of v0.12. The units of data that flow can be any type. To continue to use structured data, use regular Python dictionaries instead.

class graphbook.Note(items: dict = {})

DEPRECATED: This class is deprecated and will be removed in a future version of Graphbook. Use regular Python dictionaries instead.

The unit that passes through workflow steps. A Note contains a dictionary of items related to the note.

Parameters:

items (Dict[str, Any]) – An optional dictionary of items to store in the Note

Examples

d = Note( {"images": [PIL.Image("image_of_dog.png")]} )