With authentik_client version 2025.10.3 when using StagesApi().stages_invitation_invitations_create() the client raises the following error:
1 validation error for PartialUser
username
Value error, must validate the regular expression /^[\w.@+-]+$/ [type=value_error, input_value='Rossi Mario example', input_type=str]
... the username Rossi Mario example is a valid username