Dynamic configs — `get_config`
A config is a typed JSON value with targeting. After configure(), read it through the bound shipeasy.Client(user).
Generated from the SDK's own /docs/ — also served raw at
https://shipeasy-ai.github.io/sdk-python/pages/configs.md.
A config is a typed JSON value with targeting. After
configure(), read it through the bound
shipeasy.Client(user).
# construct once per callsite (cheap; binds the user)
client = shipeasy.Client(current_user)
config = client.get_config("billing_copy")Defaults
get_config(name, decode=None, default=None) returns default when the config
key is absent (or a decode raises):
client.get_config("billing_copy", default={"title": "Welcome"})Typed decode
Pass a decode callable to project the raw JSON value into the shape you want.
It applies on top of any override; if it raises, the default is returned:
client.get_config("limits", decode=lambda v: v["max"], default=0)Feature flags — `get_flag`
A flag (gate) evaluates to a boolean for a given user. After configure() has run once at startup, bind a user with shipeasy.Client(user) and read with no…
Kill switches — `get_killswitch`
A kill switch is an admin resource that ships in the flags blob alongside gates and configs. getkillswitch reads it and returns a boolean. No telemetry is…