growthbook 1.4.8__tar.gz → 1.4.9__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.
Files changed (27) hide show
  1. {growthbook-1.4.8/growthbook.egg-info → growthbook-1.4.9}/PKG-INFO +1 -1
  2. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/__init__.py +1 -1
  3. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/growthbook.py +3 -0
  4. {growthbook-1.4.8 → growthbook-1.4.9/growthbook.egg-info}/PKG-INFO +1 -1
  5. {growthbook-1.4.8 → growthbook-1.4.9}/setup.cfg +1 -1
  6. {growthbook-1.4.8 → growthbook-1.4.9}/LICENSE +0 -0
  7. {growthbook-1.4.8 → growthbook-1.4.9}/MANIFEST.in +0 -0
  8. {growthbook-1.4.8 → growthbook-1.4.9}/README.md +0 -0
  9. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/common_types.py +0 -0
  10. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/core.py +0 -0
  11. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/growthbook_client.py +0 -0
  12. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/plugins/__init__.py +0 -0
  13. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/plugins/base.py +0 -0
  14. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/plugins/growthbook_tracking.py +0 -0
  15. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/plugins/request_context.py +0 -0
  16. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook/py.typed +0 -0
  17. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook.egg-info/SOURCES.txt +0 -0
  18. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook.egg-info/dependency_links.txt +0 -0
  19. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook.egg-info/requires.txt +0 -0
  20. {growthbook-1.4.8 → growthbook-1.4.9}/growthbook.egg-info/top_level.txt +0 -0
  21. {growthbook-1.4.8 → growthbook-1.4.9}/pyproject.toml +0 -0
  22. {growthbook-1.4.8 → growthbook-1.4.9}/setup.py +0 -0
  23. {growthbook-1.4.8 → growthbook-1.4.9}/tests/conftest.py +0 -0
  24. {growthbook-1.4.8 → growthbook-1.4.9}/tests/test_etag.py +0 -0
  25. {growthbook-1.4.8 → growthbook-1.4.9}/tests/test_growthbook.py +0 -0
  26. {growthbook-1.4.8 → growthbook-1.4.9}/tests/test_growthbook_client.py +0 -0
  27. {growthbook-1.4.8 → growthbook-1.4.9}/tests/test_plugins.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: growthbook
3
- Version: 1.4.8
3
+ Version: 1.4.9
4
4
  Summary: Powerful Feature flagging and A/B testing for Python apps
5
5
  Home-page: https://github.com/growthbook/growthbook-python
6
6
  Author: GrowthBook
@@ -18,5 +18,5 @@ from .plugins import (
18
18
  )
19
19
 
20
20
  # x-release-please-start-version
21
- __version__ = "1.4.8"
21
+ __version__ = "1.4.9"
22
22
  # x-release-please-end
@@ -139,6 +139,7 @@ class SSEClient:
139
139
  self.headers = {
140
140
  "Accept": "application/json; q=0.5, text/event-stream",
141
141
  "Cache-Control": "no-cache",
142
+ "Accept-Encoding": "gzip, deflate, br",
142
143
  }
143
144
 
144
145
  if headers:
@@ -417,6 +418,7 @@ class FeatureRepository(object):
417
418
  def _fetch_and_decode(self, api_host: str, client_key: str) -> Optional[Dict]:
418
419
  url = self._get_features_url(api_host, client_key)
419
420
  headers: Dict[str, str] = {}
421
+ headers['Accept-Encoding'] = "gzip, deflate, br"
420
422
 
421
423
  # Check if we have a cached ETag for this URL
422
424
  cached_etag = None
@@ -477,6 +479,7 @@ class FeatureRepository(object):
477
479
  async def _fetch_and_decode_async(self, api_host: str, client_key: str) -> Optional[Dict]:
478
480
  url = self._get_features_url(api_host, client_key)
479
481
  headers: Dict[str, str] = {}
482
+ headers['Accept-Encoding'] = "gzip, deflate, br"
480
483
 
481
484
  # Check if we have a cached ETag for this URL
482
485
  cached_etag = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: growthbook
3
- Version: 1.4.8
3
+ Version: 1.4.9
4
4
  Summary: Powerful Feature flagging and A/B testing for Python apps
5
5
  Home-page: https://github.com/growthbook/growthbook-python
6
6
  Author: GrowthBook
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 1.4.8
2
+ current_version = 1.4.9
3
3
  commit = True
4
4
  tag = True
5
5
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes