From b8223879c928f015d368e159b656a448b99b2fbe Mon Sep 17 00:00:00 2001 From: Edgar Lin Date: Tue, 28 Oct 2025 14:51:03 -0700 Subject: [PATCH] change order of fields in auth_data to match autoscaler for signature verification --- lib/data_types.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/data_types.py b/lib/data_types.py index ceadfed..c40fcc6 100644 --- a/lib/data_types.py +++ b/lib/data_types.py @@ -65,12 +65,12 @@ class ApiPayload(ABC): class AuthData: """data used to authenticate requester""" - signature: str - cost: str endpoint: str - reqnum: int - url: str request_idx: int + url: str + cost: str + reqnum: int + signature: str @classmethod def from_json_msg(cls, json_msg: Dict[str, Any]):