From 3aae283282d16fd9bef5e8616cbeda027a880201 Mon Sep 17 00:00:00 2001
From: Ian Grant <ian.conway.grant@gmail.com>
Date: Thu, 15 May 2025 11:45:32 -0400
Subject: [PATCH] fix: changed order of pending states to match state progress

---
 maap_utils/JobLedger.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maap_utils/JobLedger.py b/maap_utils/JobLedger.py
index 1b5cdd0..e6c82e5 100644
--- a/maap_utils/JobLedger.py
+++ b/maap_utils/JobLedger.py
@@ -6,7 +6,7 @@ from .Job import Job
 class JobLedger:
     """Tracks all job state in a single coordinated structure"""
 
-    PENDING_STATES = ["Accepted", "Running", "Offline", "Submitted"]
+    PENDING_STATES = ["Submitted", "Accepted", "Running", "Offline"]
     FINAL_STATES = ["Succeeded", "Failed", "Deleted"]
 
     def __init__(self):
-- 
GitLab