yarrow.yarrow_cls

Yarrow classes, enable the schema to be used more efficiently at runtime.

Contains all the non-pydantic class definitions

Each class has a pydantic conversion:

>>> img = Image(...)
    img_pydantic = img.pydantic() # you have a Image_pydantic instance
    img_as_dict = img_pydantic.dict() # now you have a dict

Classes

Annotation(contributor[, name, images, ...])

Image(width, height, file_name, date_captured)

MultilayerImage([images, name, meta, id, split])

YarrowDataset(info[, images, annotations, ...])