betty.datas.aggregate.record.object package

Module contents

Object data types.

class betty.datas.aggregate.record.object.ObjectDefinition

Bases: RecordDefinition[DataClsT, Attr], Generic

Define an object with attributes.

Use betty.attr.Attr to define fields inline, or in superclasses so they can be inherited.