Data returned from the API on StagesApi().stages_invitation_invitations_create() fails validation
還沒有人認領這個 Issue。
評估
研究方向
首先,使用 authentik_client 2025.10.3 透過 StagesApi().stages_invitation_invitations_create() 重現該失敗,然後追蹤拒絕「Rossi Mario example」的 PartialUser username 驗證。完成的標準是 API client 接受這個回傳的 username,且不引發驗證錯誤。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Mustache
- 星號
- 2
- 分支
- 1
- 平均合併
- 15 小時 5 分鐘
- 30 天內合併 PR
- 2
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
goauthentik/client-python 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 45/100
goauthentik/client-python#11 · 2 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 42/100
goauthentik/client-python#10 ·
-
難度 3/5 1-2 天 新手友好度 35/100
goauthentik/client-python#9 · 1 個 reaction ·
查看 goauthentik/client-python 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
mksglu/context-mode#1200 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 70/100
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr impact:auth-provider issue-rating: 🌊 off-meta tidepool P2
難度 1/5 1 小時以內 新手友好度 80/100
-
難度 2/5 1-3 小時 新手友好度 75/100