Skip to content

Add Python Typings #5135

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

Closed
skairunner opened this issue Jul 17, 2020 · 2 comments
Closed

Add Python Typings #5135

skairunner opened this issue Jul 17, 2020 · 2 comments
Labels
duplicate This is a duplicate of another issue or PR.

Comments

@skairunner
Copy link
Contributor

skairunner commented Jul 17, 2020

The Problem

Optional Python typings do not exist for discord.py

The Ideal Solution

Implement said typings

The Current Solution

Muddling along by reading the docs

Summary

  • Add in all the Python type annotations for ease of use with IDEs
  • Problem: Typings were only introduced in Python 3.6, meaning that this will raise the minimum version requirement for discord.py and make newer versions backwards incompatible
@skairunner skairunner changed the title Use Python Typings Add Python Typings Jul 17, 2020
@ShineyDev
Copy link
Contributor

see #1497

@skairunner
Copy link
Contributor Author

Ah. Exciting.

@Rapptz Rapptz added the duplicate This is a duplicate of another issue or PR. label Jul 17, 2020
@Rapptz Rapptz closed this as completed Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This is a duplicate of another issue or PR.
Projects
None yet
Development

No branches or pull requests

3 participants