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

Type annotations #168

Open
benglewis opened this issue Jan 22, 2025 · 2 comments
Open

Type annotations #168

benglewis opened this issue Jan 22, 2025 · 2 comments

Comments

@benglewis
Copy link

Is it possible to add type annotations to pg8000? If I add a PR to add type annotations, will it be accepted?

@tlocke
Copy link
Owner

tlocke commented Jan 22, 2025

Hi @benglewis, is it an option to add type stubs to the https://github.com/python/typeshed project? My concern about using type hints in pg8000 is that it might reduce readability rather than improve it. Maybe the typeshed option is a good compromise?

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

No branches or pull requests

3 participants
@tlocke @benglewis and others