refactor: ♻️ update deprecated usage to use typing.deprecated#2828
Closed
Paillat-dev wants to merge 8 commits into
Closed
refactor: ♻️ update deprecated usage to use typing.deprecated#2828Paillat-dev wants to merge 8 commits into
typing.deprecated#2828Paillat-dev wants to merge 8 commits into
Conversation
Paillat-dev
commented
Jul 13, 2025
Signed-off-by: Paillat <paillat@pycord.dev>
|
This pull request is in the In review step of the Pycord workflow. Waiting for review from these teams:
Waiting on these users to move the PR forward: @Paillat-dev, @ChickenDevs, @plun1331. |
Signed-off-by: Paillat <paillat@pycord.dev>
b55c125 to
82659b2
Compare
Member
|
@Pycord-Development/library-contributors
Ref: https://discord.com/channels/881207955029110855/903819190274764800/1412100052780056627 |
Lulalaby
approved these changes
Oct 20, 2025
Member
Author
|
Please hold this one |
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #1917
Redo of #2655
The previous version of the PR did not work correctly with type checkers, this one does, with the compromise of needing to use the
@deprecated(deprecated_message(...))syntax. This allows for type checkers to mark methods as deprecated and do some kind of strike trough like shown below:Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.