From 7b3a110f34c7d3ffbf60e08587da11d7ca2162d4 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Mon, 1 Jun 2026 13:16:39 +0530 Subject: [PATCH] style(a2a): black-format watsonx orchestrate handler for CI py312 Co-authored-by: Cursor --- litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py b/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py index 038258a5bd6..02413465796 100644 --- a/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py +++ b/litellm/a2a_protocol/providers/watsonx_orchestrate/handler.py @@ -44,7 +44,9 @@ class WatsonxOrchestrateHandler: return hashlib.sha256(material.encode()).hexdigest() @staticmethod - def _cp4d_token_ttl_seconds(expiration: Any, now_wall: Optional[float] = None) -> int: + def _cp4d_token_ttl_seconds( + expiration: Any, now_wall: Optional[float] = None + ) -> int: # CP4D returns expiration as absolute Unix epoch seconds, not a duration. expires_at = int(expiration) wall = now_wall if now_wall is not None else time.time()