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