hyperiax.Schema¶
- class hyperiax.Schema(fields)[source]¶
Bases:
objectOrdered, hashable collection of named FieldSpecs.
Fields are stored as a
tuple[(name, spec), ...]sorted by name so that equal sets of fields always hash identically regardless of insert order.Methods
__init__(fields)from_dict(d)with_added(**extra)Return a new Schema with extra fields appended.
without(*names)Return a new Schema with the named fields removed.
Attributes