class M: s = attr.ib(validator=instance_of(str)) i = attr.ib(validator=instance_of(int)) nullable = attr.ib() d = datetime_field() lst1 = list_field(int) lst2 = list_field(X)
class MList: as_list = list_field(SELF)
class N: xs = list_field(int, sort_key=lambda x: x, sort_reverse=True)
class M: xs = list_field(int, sort_key=lambda x: x)
class M: v = list_field(UnionKind(('v1', V1), ('v2', V2)), is_only_field=True)
class And: items = list_field(Value, is_only_field=True)
class And: items = list_field(Value)
class M: ms = list_field(SELF)
class M: xs = list_field(str)
class M: xs = list_field(X)
class M: xs = list_field(int, validator=v)
class M: xs = list_field(int)