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):