gofeatureflag-python-provider 0.2.0__tar.gz → 0.2.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gofeatureflag-python-provider
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: GO Feature Flag provider for OpenFeature
5
5
  Home-page: https://gofeatureflag.org
6
6
  License: Apache-2.0
@@ -63,8 +63,8 @@ class DataCollectorHook(Hook):
63
63
  self._event_queue.append(feature_event)
64
64
 
65
65
  def error(self, hook_context: HookContext, exception: Exception, hints: dict):
66
- if self._options.disable_data_collection or details.reason != Reason.CACHED:
67
- # we don't collect data if the data collection is disabled or if the flag is not cached
66
+ if self._options.disable_data_collection:
67
+ # we don't collect data if the data collection is disabled
68
68
  return
69
69
 
70
70
  feature_event = FeatureEvent(
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "gofeatureflag-python-provider"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "GO Feature Flag provider for OpenFeature"
5
5
  license = "Apache-2.0"
6
6
  authors = [ "Thomas Poignant" ]