flagsmith 6.2.1__tar.gz → 6.2.3__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.
- {flagsmith-6.2.1 → flagsmith-6.2.3}/PKG-INFO +2 -2
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/analytics.py +2 -2
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/flagsmith.py +1 -2
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/version.py +2 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/pyproject.toml +2 -2
- {flagsmith-6.2.1 → flagsmith-6.2.3}/LICENSE +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/README.md +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/__init__.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/api/__init__.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/api/types.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/exceptions.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/mappers.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/models.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/offline_handlers.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/polling_manager.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/py.typed +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/streaming_manager.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/types.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/utils/__init__.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/utils/datetime.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/utils/identities.py +0 -0
- {flagsmith-6.2.1 → flagsmith-6.2.3}/flagsmith/webhooks.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flagsmith
|
|
3
|
-
Version: 6.2.
|
|
3
|
+
Version: 6.2.3
|
|
4
4
|
Summary: Flagsmith Python SDK
|
|
5
5
|
License: BSD3
|
|
6
6
|
License-File: LICENSE
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
-
Requires-Dist: flagsmith-flag-engine (>=
|
|
18
|
+
Requires-Dist: flagsmith-flag-engine (>=11.0.0,<12.0.0)
|
|
19
19
|
Requires-Dist: iso8601 (>=2.1.0,<3.0.0) ; python_version < "3.11"
|
|
20
20
|
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
21
21
|
Requires-Dist: requests-futures (>=1.0.1,<2.0.0)
|
|
@@ -8,7 +8,7 @@ from datetime import datetime
|
|
|
8
8
|
|
|
9
9
|
from requests_futures.sessions import FuturesSession # type: ignore
|
|
10
10
|
|
|
11
|
-
from flagsmith.version import __version__
|
|
11
|
+
from flagsmith.version import DEFAULT_USER_AGENT, __version__
|
|
12
12
|
|
|
13
13
|
logger = logging.getLogger(__name__)
|
|
14
14
|
|
|
@@ -218,7 +218,7 @@ class EventProcessor:
|
|
|
218
218
|
headers={
|
|
219
219
|
"Content-Type": "application/json; charset=utf-8",
|
|
220
220
|
"X-Environment-Key": self._environment_key,
|
|
221
|
-
"Flagsmith-SDK-User-Agent":
|
|
221
|
+
"Flagsmith-SDK-User-Agent": DEFAULT_USER_AGENT,
|
|
222
222
|
},
|
|
223
223
|
)
|
|
224
224
|
except RuntimeError:
|
|
@@ -41,13 +41,12 @@ from flagsmith.types import (
|
|
|
41
41
|
TraitMapping,
|
|
42
42
|
)
|
|
43
43
|
from flagsmith.utils.identities import generate_identity_data
|
|
44
|
-
from flagsmith.version import
|
|
44
|
+
from flagsmith.version import DEFAULT_USER_AGENT
|
|
45
45
|
|
|
46
46
|
logger = logging.getLogger(__name__)
|
|
47
47
|
|
|
48
48
|
DEFAULT_API_URL = "https://edge.api.flagsmith.com/api/v1/"
|
|
49
49
|
DEFAULT_REALTIME_API_URL = "https://realtime.flagsmith.com/"
|
|
50
|
-
DEFAULT_USER_AGENT = f"flagsmith-python-sdk/{__version__}"
|
|
51
50
|
|
|
52
51
|
|
|
53
52
|
class Flagsmith:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "flagsmith"
|
|
3
|
-
version = "6.2.
|
|
3
|
+
version = "6.2.3"
|
|
4
4
|
description = "Flagsmith Python SDK"
|
|
5
5
|
authors = ["Flagsmith <support@flagsmith.com>"]
|
|
6
6
|
license = "BSD3"
|
|
@@ -10,7 +10,7 @@ documentation = "https://docs.flagsmith.com"
|
|
|
10
10
|
packages = [{ include = "flagsmith" }]
|
|
11
11
|
|
|
12
12
|
[tool.poetry.dependencies]
|
|
13
|
-
flagsmith-flag-engine = "^
|
|
13
|
+
flagsmith-flag-engine = "^11.0.0"
|
|
14
14
|
iso8601 = { version = "^2.1.0", python = "<3.11" }
|
|
15
15
|
python = ">=3.10,<4"
|
|
16
16
|
requests = "^2.32.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|