Flagsmith / Flagsmith/flagsmith

Factor out _import_targets and _import_rules calls so they're invoked directly from process_import_request rather than as a side effect.

Open
#3,383 0 comments 0 reactions 1 assignee Claimed by @khvn26 View on GitHub
tech-debt
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

Factor out _import_targets and _import_rules calls so they're invoked directly from process_import_request rather than as a side effect. Make the factory functions return created entities, including the MV options, so they can be used by later code, or think of some common context object that can be used throughout the import process.
Rename factory functions to _create_boolean_feature_states_with_segments_identities and so on.

Created from: https://github.com/Flagsmith/flagsmith/pull/3233#discussion_r1471780610

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.