From c16add11faf89e69f9e325a2ef50a5fab60c7472 Mon Sep 17 00:00:00 2001 From: ArnabDutta01 Date: Thu, 19 Nov 2026 15:59:23 +0530 Subject: [PATCH] [pyjks] BksKeyEntry.type2str() can return None --- stubs/pyjks/jks/bks.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/pyjks/jks/bks.pyi b/stubs/pyjks/jks/bks.pyi index d083d6b95d2f..1b31eeffc866 100644 --- a/stubs/pyjks/jks/bks.pyi +++ b/stubs/pyjks/jks/bks.pyi @@ -67,7 +67,7 @@ class BksKeyEntry(AbstractBksEntry): **kwargs: Unused, ) -> None: ... @classmethod - def type2str(cls, t: _KeyType) -> Literal["PRIVATE", "PUBLIC", "SECRET"]: ... + def type2str(cls, t: _KeyType) -> Literal["PRIVATE", "PUBLIC", "SECRET"] | None: ... def is_decrypted(self) -> Literal[True]: ... class BksSecretKeyEntry(AbstractBksEntry):