Skip to content

Commit 21c85d3

Browse files
committed
Add return type for newkeys()
1 parent b8a9681 commit 21c85d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_rsa/key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ def newkeys(
748748
poolsize: int = 1,
749749
exponent: int = DEFAULT_EXPONENT,
750750
log_level: str = "INFO",
751-
):
751+
) -> Tuple["PublicKey", "PrivateKey"]:
752752
"""Generates public and private keys, and returns them as (pub, priv).
753753
754754
The public key is also known as the 'encryption key', and is a

0 commit comments

Comments
 (0)