From ace133df6b7b67771c02e0cc310b6c6e8270c620 Mon Sep 17 00:00:00 2001 From: David Brownman Date: Mon, 18 May 2026 11:48:51 -0700 Subject: [PATCH] remove unnecessary cast --- stripe/_http_client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stripe/_http_client.py b/stripe/_http_client.py index 237967d6b..4fb246523 100644 --- a/stripe/_http_client.py +++ b/stripe/_http_client.py @@ -678,9 +678,7 @@ def _request_internal( ).request( method, url, - headers=cast( - "MutableMapping[str, str | bytes] | None", headers - ), # https://jira.corp.stripe.com/browse/RUN_DEVSDK-2417 + headers=headers, data=post_data, timeout=self._timeout, **kwargs,