Skip to content

fix: add py.typed to enable PEP 561 compliance#5

Merged
aiagate merged 1 commit into
mainfrom
aiagate/issue4
Apr 13, 2026
Merged

fix: add py.typed to enable PEP 561 compliance#5
aiagate merged 1 commit into
mainfrom
aiagate/issue4

Conversation

@aiagate

@aiagate aiagate commented Apr 13, 2026

Copy link
Copy Markdown
Owner

Description

This PR adds a \py.typed\ file to the \ low_res\ package to enable PEP 561 compliance. This ensures that type checkers like Pyright correctly recognize and process the type hints provided by the library, resolving issue #4 where Pyright failed to properly narrow types when using \is_err\ and \is_ok\ guards in projects using this library.

@aiagate aiagate merged commit c4d71f4 into main Apr 13, 2026
1 check passed
@aiagate aiagate deleted the aiagate/issue4 branch April 13, 2026 11:55
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.

1 participant