ORIONIS API REFERENCE

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 RegisterSchema(Schema): (source)

View In Hierarchy

Validate the account details required for user registration.

Class Variable email Email address subject to the declared length and address constraints.
Class Variable name Account display name subject to the declared validation constraints.
Class Variable password Account password subject to the declared validation constraints.
Class Variable password_confirmation Repeated password value that must match the password field.

Inherited from Schema:

Method toDict Recursively convert the schema instance into a dictionary.
email: Field[str, Message('Email must be a string.'), Email(message='Email must be a valid email address.'), Unique(table='users', column='email', message='Email already exists. Please use a different email address.')] = (source)

Email address subject to the declared length and address constraints.

name: Field[str, Message('Name must be a string.'), MinLength(6, message='Name must be at least 6 characters long.')] = (source)

Account display name subject to the declared validation constraints.

password: Field[str, Message('Password must be a string.'), StrongPassword(message='Password must contain at least one uppercase letter, one lowercase letter, one number, and one special character.')] = (source)

Account password subject to the declared validation constraints.

password_confirmation: Field[str, Message('Password confirmation must be a string.'), ConfirmPassword(message='Password confirmation does not match the password.')] = (source)

Repeated password value that must match the password field.