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 documentation
class Pattern(ConstraintMetadata): (source)
Assert that a string value matches the given regex pattern.
| Parameters | |
| regex | A regular expression that the field value must fully match. |
| message | Custom error message reported when this constraint fails. |
| Class Variable | message |
Undocumented |
| Class Variable | regex |
Undocumented |
Inherited from ConstraintMetadata:
| Class Variable | __slots__ |
Undocumented |