From 2e0ff04f847374208e81995720410e8df43105ed Mon Sep 17 00:00:00 2001 From: Idris Foughali Date: Wed, 19 Nov 2025 18:52:27 +0000 Subject: [PATCH] Feat: added 2 states for DataSourceStatusChoices --- netbox/core/choices.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netbox/core/choices.py b/netbox/core/choices.py index 6603a7d4f..6bc1fa2f8 100644 --- a/netbox/core/choices.py +++ b/netbox/core/choices.py @@ -13,6 +13,8 @@ class DataSourceStatusChoices(ChoiceSet): SYNCING = 'syncing' COMPLETED = 'completed' FAILED = 'failed' + SCHEDULED = 'scheduled' + READY = 'ready' CHOICES = ( (NEW, _('New'), 'blue'), @@ -20,6 +22,8 @@ class DataSourceStatusChoices(ChoiceSet): (SYNCING, _('Syncing'), 'cyan'), (COMPLETED, _('Completed'), 'green'), (FAILED, _('Failed'), 'red'), + (SCHEDULED, _('Scheduled'), 'gray'), + (READY, _('Ready'), 'green'), )