|
3 | 3 |
|
4 | 4 | from django.utils import timezone |
5 | 5 | from drf_spectacular.utils import extend_schema_field |
6 | | -from flag_engine.features.models import FeatureModel as EngineFeatureModel |
7 | | -from flag_engine.features.models import FeatureStateModel as EngineFeatureStateModel |
8 | | -from flag_engine.features.models import ( |
9 | | - MultivariateFeatureOptionModel as EngineMultivariateFeatureOptionModel, |
10 | | -) |
11 | | -from flag_engine.features.models import ( |
12 | | - MultivariateFeatureStateValueModel as EngineMultivariateFeatureStateValueModel, |
13 | | -) |
14 | | -from flag_engine.identities.models import IdentityModel as EngineIdentity |
15 | | -from flag_engine.utils.exceptions import DuplicateFeatureState |
16 | 6 | from pydantic import ValidationError as PydanticValidationError |
17 | 7 | from pyngo import drf_error_details |
18 | 8 | from rest_framework import serializers |
|
25 | 15 | from features.serializers import ( # type: ignore[attr-defined] |
26 | 16 | FeatureStateValueSerializer, |
27 | 17 | ) |
| 18 | +from util.engine_models.features.models import FeatureModel as EngineFeatureModel |
| 19 | +from util.engine_models.features.models import ( |
| 20 | + FeatureStateModel as EngineFeatureStateModel, |
| 21 | +) |
| 22 | +from util.engine_models.features.models import ( |
| 23 | + MultivariateFeatureOptionModel as EngineMultivariateFeatureOptionModel, |
| 24 | +) |
| 25 | +from util.engine_models.features.models import ( |
| 26 | + MultivariateFeatureStateValueModel as EngineMultivariateFeatureStateValueModel, |
| 27 | +) |
| 28 | +from util.engine_models.identities.models import IdentityModel as EngineIdentity |
| 29 | +from util.engine_models.utils.exceptions import DuplicateFeatureState |
28 | 30 | from util.mappers import ( |
29 | 31 | map_engine_identity_to_identity_document, |
30 | 32 | map_feature_to_engine, |
|
0 commit comments