error: global flags not at the start of the expression at position 1

Open
#196 1 comment 0 reactions 1 assignee View on GitHub

@khvn26 is already working on this.

Since Nov 28, 2023.

Assessment

This issue has not been assessed yet.

Description

bug

Sentry Issue: FLAGSMITH-API-3Z3

error: global flags not at the start of the expression at position 1
(22 additional frame(s) were not displayed)
...
  File "environments/identities/views.py", line 231, in post
    instance = serializer.save()
  File "environments/sdk/serializers.py", line 154, in save
    all_feature_states = identity.get_all_feature_states(
  File "environments/identities/models.py", line 73, in get_all_feature_states
    segments = self.get_segments(traits=traits, overrides_only=True)
  File "environments/identities/models.py", line 172, in get_segments
    if evaluate_identity_in_segment(
Dominant language
Python
Stars
10
Forks
5
Avg merge
4d 8m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Flagsmith/flagsmith-engine

All issues in Flagsmith/flagsmith-engine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.