Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 783 Bytes

File metadata and controls

14 lines (9 loc) · 783 Bytes

LaunchDarkly Sample OpenFeature Python Server application

Build and run

We've built a simple console script that demonstrates how LaunchDarkly's OpenFeature provider works.

Build instructions

  1. Install the project dependencies by running poetry install
  2. Set the environment variable LAUNCHDARKLY_SDK_KEY to your LaunchDarkly SDK key.
  3. Set the environment variable LAUNCHDARKLY_FLAG_KEY to the LaunchDarkly boolean flag key you wish to evaluate.
  4. Run poetry run python main.py.

You should see the message "The <flag key> feature flag evaluates to <true/false>".