Skip to content

Conversation

@efahk
Copy link
Contributor

@efahk efahk commented Aug 27, 2025

This change introduces a first pass at implement server-side SDK for feature flags.

It introduces two modes for evaluating feature flags, Remote Evaluation and Local Evaluation. The API contract was kept as close to the client SDKs' as it made sense to. See demo.py for some sample usage. I'd love feedback on the API ergonomics

Remote Evaluation
Provides methods, get_variant_value, get_variant, is_enabled more, aligning the API to the client SDK's as close as it made sense to. Each method makes an outbound call to the flag service for evaluation.

Local Evaluation
Flag Definitions are polled from the server and stored on the SDK. Assignment is run by the SDK itself.

@codecov
Copy link

codecov bot commented Sep 5, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@efahk efahk merged commit 0f8c84e into master Sep 9, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants