fix(feature_flag): if over_rides not set ensure val set to empty dict

ref: #693
This commit is contained in:
2025-03-22 20:53:17 +09:30
parent 5f3990e15a
commit 12ef8918ba

View File

@ -112,9 +112,9 @@ class CenturionFeatureFlagging:
self._disable_downloading = disable_downloading
if over_rides:
_over_rides: dict = {}
_over_rides: dict = {}
if over_rides:
for entry in over_rides:
@ -124,8 +124,8 @@ class CenturionFeatureFlagging:
key[0]: FeatureFlag(key[0], flag[0])
})
self._over_rides = _over_rides
self._over_rides = _over_rides
if version is None: