THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class ConstraintMetadata(ValidationMetadata): (source)
Known subclasses: orionis.schemas.constraints.GreaterThan, orionis.schemas.constraints.GreaterThanOrEqual, orionis.schemas.constraints.LessThan, orionis.schemas.constraints.LessThanOrEqual, orionis.schemas.constraints.MaxLength, orionis.schemas.constraints.MinLength, orionis.schemas.constraints.MultipleOf, orionis.schemas.constraints.Pattern, orionis.schemas.constraints.TimezoneAware, orionis.schemas.constraints.TimezoneNaive
Intermediate marker for validation constraints.
Constraint metadata participates in value validation at decode time. Each concrete subclass exposes a message keyword-only field (default None); when it is set, SchemaMeta stores it in __orionis_constraints__ and it replaces the default error message reported for that constraint.
| Class Variable | __slots__ |
Undocumented |