Flagsmith / Flagsmith/flagsmith-python-client

Support registering global traits at client initialization

Abierto
#237 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
24
Forks
12
Merge medio
15 h 43 min
PR fusionados (30 d)
4

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.