goauthentik / goauthentik/client-python

Data returned from the API on StagesApi().stages_invitation_invitations_create() fails validation

未關閉
#18 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Mustache
星號
2
分支
1
平均合併
15 小時 5 分鐘
30 天內合併 PR
2

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by reproducing the failure through StagesApi().stages_invitation_invitations_create() with authentik_client 2025.10.3, then trace the PartialUser username validation that rejects “Rossi Mario example”. Done means the API client accepts this returned username without raising the validation error.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
api
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。