Support registering global traits at client initialization
还没有人认领这个 Issue。
评估
调研方向
首先定位 Python 客户端的初始化和评估方法,然后追踪当前如何传递每次调用的 traits。为全局 traits 定义一个初始化选项,并验证评估默认包含这些 traits,同时仍接受每次调用的 traits。完成的标准是,对于保持不变的 traits,使用者不再需要包装器或手动合并。
由索引模型根据 Issue 内容生成。
描述
Summary
Some traits are global and never change for the life of a client, for example app name and developer branch. Today they must be supplied on every evaluation call. Consumers work around this by wrapping the client to register global traits and merge them with per-call traits at runtime.
Requested feature
A way to register global traits once at client initialization so they are included in every evaluation by default, removing the per-call merge or custom wrapper.
- 主要语言
- Python
- 星标
- 24
- 派生
- 12
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Flagsmith/flagsmith-python-client 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 68/100
-
Flagsmith/flagsmith-python-client#198 · 1 条评论 · 已指派 2 人 ·
-
难度 5/5 一周以上 新手友好度 45/100
查看 Flagsmith/flagsmith-python-client 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
canonical/paas-charm#368 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
tech debt
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 1/5 1 小时以内 新手友好度 90/100
StevenBlack/hosts#3256 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
qualcomm/qai-appbuilder#275 ·