Skip to content

feat: Support returning default flags for None identities#254

Merged
khvn26 merged 2 commits intomainfrom
feat/support-null-identifiers-returning-default-flags
Aug 25, 2025
Merged

feat: Support returning default flags for None identities#254
khvn26 merged 2 commits intomainfrom
feat/support-null-identifiers-returning-default-flags

Conversation

@khvn26
Copy link
Copy Markdown
Member

@khvn26 khvn26 commented Aug 22, 2025

I deemed opening this PR necessary to support the Python SDK's local evaluation mode, specifically Flagsmith._get_environment_flags_from_document engine wrapper method.

This PR adds support for contexts with segments that don't target identities, but still use Context values that can be extracted from an identity-less evaluation context, like Environment names.

@khvn26 khvn26 requested review from a team and emyller and removed request for a team August 22, 2025 18:47
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 22, 2025

File Coverage Missing
All files 100%

Minimum allowed coverage is 100%

Generated by 🐒 cobertura-action against 1cf3760

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Aug 22, 2025

CodSpeed Performance Report

Merging #254 will not alter performance

Comparing feat/support-null-identifiers-returning-default-flags (1cf3760) with main (63b546c)

Summary

✅ 1 untouched benchmarks

@khvn26 khvn26 merged commit a05befa into main Aug 25, 2025
7 checks passed
@khvn26 khvn26 deleted the feat/support-null-identifiers-returning-default-flags branch August 25, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants