We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b945912 commit f7a1625Copy full SHA for f7a1625
src/unstructured_client/users.py
@@ -550,12 +550,12 @@ def encrypt_secret(
550
encryption_cert_or_key_pem.encode('utf-8'),
551
)
552
553
- public_key = cert.public_key()
+ public_key = cert.public_key() # type: ignore[assignment]
554
else:
555
public_key = serialization.load_pem_public_key(
556
557
backend=default_backend()
558
- )
+ ) # type: ignore[assignment]
559
560
if not isinstance(public_key, rsa.RSAPublicKey):
561
raise TypeError("Public key must be a RSA public key for encryption.")
0 commit comments