Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): correct 'decrypt_io' param and return type annotations #86

Merged
merged 2 commits into from
Oct 19, 2024

Conversation

Alchemyst0x
Copy link
Contributor

The 'decrypt_io' function was incorrectly parameterized with a "recipients"
parameter instead of "identities." Additionally, the function was typed as
returning None, but it should return bytes.

This commit corrects both the parameterization and the return type annotations
to align with the Rust code, which expects "identities" and returns bytes.

This may correct an issue that existed prior to my previous commit, but it
was overlooked until now.

This function was incorrectly parameterized with a "recipients" param rather than "identities." Additionally, it was typed as returning None.
This commit addresses both issues and corrects the function annotations so that they align with the rust code, now returning bytes and expecting "identities."
@woodruffw woodruffw merged commit 2ac5318 into woodruffw:main Oct 19, 2024
17 checks passed
@woodruffw
Copy link
Owner

Thanks for fixing this -- I've released a new patch version of the stubs package, and it should be live on PyPI shortly.

@Alchemyst0x Alchemyst0x deleted the fix-decrypt-io branch October 22, 2024 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants