devcycle-python-server-sdk 3.5.0__py3-none-any.whl → 3.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- devcycle_python_sdk/VERSION.txt +1 -1
- devcycle_python_sdk/models/bucketed_config.py +8 -6
- devcycle_python_sdk/open_feature_provider/provider.py +5 -3
- {devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/METADATA +2 -2
- {devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/RECORD +8 -8
- {devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/LICENSE +0 -0
- {devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/WHEEL +0 -0
- {devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/top_level.txt +0 -0
devcycle_python_sdk/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.5.
|
|
1
|
+
3.5.1
|
|
@@ -60,9 +60,9 @@ class ProjectSettings:
|
|
|
60
60
|
@classmethod
|
|
61
61
|
def from_json(cls, data: dict) -> "ProjectSettings":
|
|
62
62
|
return cls(
|
|
63
|
-
edge_db=
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
edge_db=(
|
|
64
|
+
EdgeDBSettings.from_json(data["edgeDB"]) if "edgeDB" in data else None
|
|
65
|
+
),
|
|
66
66
|
opt_in=OptInSettings.from_json(data["optIn"]) if "optIn" in data else None,
|
|
67
67
|
disable_passthrough_rollouts=data.get("disablePassthroughRollouts", False),
|
|
68
68
|
)
|
|
@@ -81,9 +81,11 @@ class Project:
|
|
|
81
81
|
id=data["_id"],
|
|
82
82
|
key=data["key"],
|
|
83
83
|
a0_organization=data["a0_organization"],
|
|
84
|
-
settings=
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
settings=(
|
|
85
|
+
ProjectSettings.from_json(data["settings"])
|
|
86
|
+
if "settings" in data
|
|
87
|
+
else None
|
|
88
|
+
),
|
|
87
89
|
)
|
|
88
90
|
|
|
89
91
|
|
|
@@ -58,9 +58,11 @@ class DevCycleProvider(AbstractProvider):
|
|
|
58
58
|
else:
|
|
59
59
|
return FlagResolutionDetails(
|
|
60
60
|
value=variable.value,
|
|
61
|
-
reason=
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
reason=(
|
|
62
|
+
Reason.DEFAULT
|
|
63
|
+
if variable.isDefaulted
|
|
64
|
+
else Reason.TARGETING_MATCH
|
|
65
|
+
),
|
|
64
66
|
)
|
|
65
67
|
except ValueError as e:
|
|
66
68
|
# occurs if the key or default value is None
|
{devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: devcycle-python-server-sdk
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.1
|
|
4
4
|
Summary: DevCycle Python SDK
|
|
5
5
|
Home-page: https://github.com/devcycleHQ/python-server-sdk
|
|
6
6
|
Author: UNKNOWN
|
|
@@ -10,7 +10,7 @@ Keywords: DevCycle
|
|
|
10
10
|
Platform: UNKNOWN
|
|
11
11
|
Requires-Dist: setuptools >=21.0.0
|
|
12
12
|
Requires-Dist: urllib3 >=1.15.1
|
|
13
|
-
Requires-Dist: requests ~=2.31
|
|
13
|
+
Requires-Dist: requests ~=2.31
|
|
14
14
|
Requires-Dist: wasmtime ==9.0.0
|
|
15
15
|
Requires-Dist: protobuf >=4.23.3
|
|
16
16
|
Requires-Dist: openfeature-sdk >=0.7.0
|
{devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
devcycle_python_sdk/VERSION.txt,sha256=
|
|
1
|
+
devcycle_python_sdk/VERSION.txt,sha256=60H4bD1nKZtGSQzeEBWKUhFI_cA2QaoUqT-ieXvs14w,6
|
|
2
2
|
devcycle_python_sdk/__init__.py,sha256=30TcYb9PbvVi97gwk16omCGG1UoUI9lmmU7xpvxNMvc,336
|
|
3
3
|
devcycle_python_sdk/bucketing-lib.release.wasm,sha256=yrNDrAxZS1h9VlTzsdOrNLP4ngnM04PmKxcWop1yrt4,202623
|
|
4
4
|
devcycle_python_sdk/cloud_client.py,sha256=UMfXvXwO4v3pZW9ZA52ivxPH1Lp4Goy5gpV_s0qCpxQ,7352
|
|
@@ -17,7 +17,7 @@ devcycle_python_sdk/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
17
17
|
devcycle_python_sdk/managers/config_manager.py,sha256=_-1kWwyyAcwVF_DibXjnehXi3Qj6HR8orYfgNfgWJOc,3248
|
|
18
18
|
devcycle_python_sdk/managers/event_queue_manager.py,sha256=06TcdlRoB89C7vGH1UTnnoDFsSnT71tPwf0gn1NK-W0,8071
|
|
19
19
|
devcycle_python_sdk/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
-
devcycle_python_sdk/models/bucketed_config.py,sha256=
|
|
20
|
+
devcycle_python_sdk/models/bucketed_config.py,sha256=NsdT-6RbEuDy5QuK5qlr6UqNKQQnwjoXVYN-uQp0P-E,3999
|
|
21
21
|
devcycle_python_sdk/models/error_response.py,sha256=r_dRUDAbral9UGaMYcnBsZOr9Hmkyi1SQbhGmZilgpA,442
|
|
22
22
|
devcycle_python_sdk/models/event.py,sha256=-6bhKp72mAgaoSxvhS__G4vvfQ9Psj83fc0Igelzw3o,3713
|
|
23
23
|
devcycle_python_sdk/models/feature.py,sha256=m3wxxIjC5jxhKpPLI4RcsBaNLuy-zsMqoAgc8ySPe0I,852
|
|
@@ -25,7 +25,7 @@ devcycle_python_sdk/models/platform_data.py,sha256=kIFevH5trsxI32qp7BW6glUCpipgp
|
|
|
25
25
|
devcycle_python_sdk/models/user.py,sha256=57d_n8Yy8g-zsGzVF0hmSf4McPtFPJJ0LLY_ql75FWk,6266
|
|
26
26
|
devcycle_python_sdk/models/variable.py,sha256=qp00SyCNyfYiMlTwnDSDJ4ZetRF35JHTbYZQOBxFIqY,1711
|
|
27
27
|
devcycle_python_sdk/open_feature_provider/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
devcycle_python_sdk/open_feature_provider/provider.py,sha256=
|
|
28
|
+
devcycle_python_sdk/open_feature_provider/provider.py,sha256=VjUMhCYiMLixXUSSIjQ7kVCQrls1QD_Nltooe5EjGks,4539
|
|
29
29
|
devcycle_python_sdk/protobuf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
devcycle_python_sdk/protobuf/utils.py,sha256=zi-kVx6yvgS2c04cUobLd2IDc_ZqKkWduay9YcpjoGc,4684
|
|
31
31
|
devcycle_python_sdk/protobuf/variableForUserParams_pb2.py,sha256=Zf4-8n67UnulC0Sz90aqLYsXCFEgywOqfiSHuXZomLk,4244
|
|
@@ -59,8 +59,8 @@ test/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
59
59
|
test/util/test_strings.py,sha256=T5H5U0af7_ld1yJC8IdDmay_Mx-iJQ5Fi5fbvKcAc7A,862
|
|
60
60
|
test/util/test_utils.py,sha256=tVBJm_qnqg-4PssLpXIxqlk0JehuiAIPs4zpi2oNVnY,6671
|
|
61
61
|
test/util/test_version.py,sha256=3Xg0_84m0bdHXz6pxd2Z85Oz9DoUC1T0Ol_WqEH_jac,335
|
|
62
|
-
devcycle_python_server_sdk-3.5.
|
|
63
|
-
devcycle_python_server_sdk-3.5.
|
|
64
|
-
devcycle_python_server_sdk-3.5.
|
|
65
|
-
devcycle_python_server_sdk-3.5.
|
|
66
|
-
devcycle_python_server_sdk-3.5.
|
|
62
|
+
devcycle_python_server_sdk-3.5.1.dist-info/LICENSE,sha256=tHQMqu-Jic2UpMGqb-vNFbGygysl8IG4l1clnnh0OFo,1071
|
|
63
|
+
devcycle_python_server_sdk-3.5.1.dist-info/METADATA,sha256=PS7S5CVN27W5_HuluZwNfRekWMdcgP8MbMTcZPXTiSs,508
|
|
64
|
+
devcycle_python_server_sdk-3.5.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
65
|
+
devcycle_python_server_sdk-3.5.1.dist-info/top_level.txt,sha256=34f8zDzihAHoH7siAFlmscyO_QLNWWq9HApFlwtYL4k,33
|
|
66
|
+
devcycle_python_server_sdk-3.5.1.dist-info/RECORD,,
|
{devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/LICENSE
RENAMED
|
File without changes
|
{devcycle_python_server_sdk-3.5.0.dist-info → devcycle_python_server_sdk-3.5.1.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|