Skip to content

refactor: Fix type annotation errors and remove unused code #548

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakekasan
Copy link

This change fixes annoying LSP diagnostic errors when using this library and pyright/basedpyright is set to strict mode.

The main issue was that the overloads for methods with a stream option were incorrect and confused the LSP. Also removes a function that was never used.

@ParthSareen ParthSareen self-requested a review August 6, 2025 19:43
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