feat(core): Add Feature Flag model reference

ref: #662 #659
This commit is contained in:
2025-03-03 20:22:18 +09:30
parent 20a1f69077
commit 90a1e4baad
3 changed files with 12 additions and 2 deletions

View File

@ -157,6 +157,14 @@ For this command to process the following conditions must be met:
item_type = TicketLinkedItem.Modules.DEVICE
elif model_type == 'feature_flag':
from devops.models.feature_flag import FeatureFlag
model = FeatureFlag
item_type = TicketLinkedItem.Modules.FEATURE_FLAG
elif model_type == 'kb':
from assistance.models.knowledge_base import KnowledgeBase
@ -175,7 +183,7 @@ For this command to process the following conditions must be met:
elif model_type == 'organization':
from access.models import Organization
from access.models.organization import Organization
model = Organization
@ -199,7 +207,7 @@ For this command to process the following conditions must be met:
elif model_type == 'team':
from access.models import Team
from access.models.team import Team
model = Team