Coverage for core/object_actions.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 18:35 +0000

1from django.utils.translation import gettext_lazy as _ 

2 

3from netbox.object_actions import ObjectAction 

4 

5__all__ = ( 

6 'BulkSync', 

7) 

8 

9 

10class BulkSync(ObjectAction): 

11 """ 

12 Synchronize multiple objects at once. 

13 """ 

14 name = 'bulk_sync' 

15 label = _('Sync Data') 

16 multi = True 

17 permissions_required = {'sync'} 

18 template_name = 'core/buttons/bulk_sync.html'