Flagsmith / Flagsmith/flagsmith-python-client

Support registering global traits at client initialization

未关闭
#237 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
24
派生
12
平均合并
15 小时 43 分钟
30 天内合并 PR
4

描述

## 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.

贡献指南

打开贡献指南

调研方向

Start by locating the Python client initialization and evaluation methods, then trace how per-call traits are currently passed. Define an initialization option for global traits and verify that evaluations include them by default while still accepting per-call traits. Done means consumers no longer need a wrapper or manual merge for traits that remain constant.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。