jumpserver/apps/settings/const.py

8 lines
160 B
Python
Raw Normal View History

2024-08-26 07:28:17 +00:00
from django.db.models import TextChoices
class ImportStatus(TextChoices):
ok = 'ok', 'Ok'
pending = 'pending', 'Pending'
error = 'error', 'Error'