Skip to content

Commit 6e60325

Browse files
authored
Update to version 1.0.0 with breaking env var change (#13)
* Change sdkKey env var from REFORGE_SDK_KEY to REFORGE_BACKEND_SDK_KEY * Update version to 1.0.0 Tweak readme
1 parent eb474e5 commit 6e60325

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22

33
Python client for reforge.com, providing Config, FeatureFlags as a Service
44

5-
**Note: This library is under active development**
6-
7-
[Sign up to be notified about updates](https://forms.gle/2qsjMFvjGnkTnA9T8)
8-
95
## Example usage
106

117
```python
128
from sdk_reforge import ReforgeSDK, Options
139
import sdk_reforge
1410

1511
options = Options(
16-
sdk_key="your-reforge-api-key"
12+
sdk_key="your-reforge-sdk-key"
1713
)
1814

1915
context = {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sdk-reforge"
3-
version = "0.12.0"
3+
version = "1.0.0"
44
description = "Python sdk for Reforge Feature Flags and Config as a Service: https://www.reforge.com"
55
license = "MIT"
66
authors = ["Michael Berkowitz <michael.berkowitz@gmail.com>", "James Kebinger <james.kebinger@reforge.com>"]

sdk_reforge/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.0
1+
1.0.0

sdk_reforge/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(
8080
self.datafile = x_datafile
8181
self.__set_api_key(
8282
sdk_key
83-
or os.environ.get("REFORGE_SDK_KEY")
83+
or os.environ.get("REFORGE_BACKEND_SDK_KEY")
8484
or os.environ.get("PREFAB_API_KEY")
8585
)
8686
self.__set_api_url(

0 commit comments

Comments
 (0)