- 
                Notifications
    You must be signed in to change notification settings 
- Fork 11
Closed
Description
Another issue this one related to running this client SDK on Python 3.11 (on the back of updating to avoid this error #166)
Traceback (most recent call last):
  File "/opt/venv/lib/python3.11/site-packages/flagsmith/flagsmith.py", line 302, in update_environment
    self._evaluation_context = map_environment_document_to_context(
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/flagsmith/mappers.py", line 116, in map_environment_document_to_context
    "features": {
                ^
  File "/opt/venv/lib/python3.11/site-packages/flagsmith/mappers.py", line 116, in <dictcomp>
    "features": {
                ^
  File "/opt/venv/lib/python3.11/site-packages/flagsmith/mappers.py", line 271, in _map_environment_document_feature_states_to_feature_contexts
    feature_context["priority"] = feature_state["feature_segment"]["priority"]
                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
Metadata
Metadata
Assignees
Labels
No labels