Skip to content

Commit

Permalink
Merge pull request #84 from fjarri/fix-typing
Browse files Browse the repository at this point in the history
Fix Python typing stubs
  • Loading branch information
KPrasch authored Sep 27, 2023
2 parents d49e98a + 4db69c8 commit 0e6a89d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nucypher-core-python/nucypher_core/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ class ThresholdMessageKit:

ciphertext_header: CiphertextHeader

def decrypt_with_shared_secret(self, shared_secret: SharedSecret):
def decrypt_with_shared_secret(self, shared_secret: SharedSecret) -> bytes:
...

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion nucypher-core-python/nucypher_core/ferveo.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def encrypt(message: bytes, aad: bytes, dkg_public_key: DkgPublicKey) -> Ciphert

def combine_decryption_shares_simple(
decryption_shares: Sequence[DecryptionShareSimple],
) -> bytes:
) -> SharedSecret:
...


Expand Down

0 comments on commit 0e6a89d

Please sign in to comment.