Skip to content

Conversation

@Lumabots
Copy link
Contributor

Summary

Before merging i would like paillat opinion on the rework of the generic, to know if maybe view and modal could be fused as we cant have both at the same time

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@Lumabots Lumabots requested a review from a team as a code owner November 14, 2025 15:54
@pycord-app
Copy link

pycord-app bot commented Nov 14, 2025

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3002/head:pr-3002
git checkout pr-3002

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3002/head


ST = TypeVar("ST", bound="Snowflake | str", covariant=True, default=Any)
S = TypeVar("S", bound="Select")
V = TypeVar("V", bound="BaseView", covariant=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
V = TypeVar("V", bound="BaseView", covariant=True)
V = TypeVar("V", bound="BaseView", covariant=True, default="BaseView")

@Paillat-dev Paillat-dev changed the title fix: breaking change fix: Fix breaking change in ui.Select Generic typing Nov 14, 2025
@Paillat-dev Paillat-dev added hold: changelog This pull request is missing a changelog entry hold: testing This pull request requires further testing labels Nov 14, 2025
@Paillat-dev
Copy link
Member

Changelog too pls

@Lumabots
Copy link
Contributor Author

Changelog too pls

ur sure fixing a typehint breaking change needs a changelog ? nice everything will be release at the same time in 2.7 ?

Lumabots and others added 2 commits November 14, 2025 17:41
Co-authored-by: Paillat <jeremiecotti@ik.me>
Signed-off-by: Lumouille <144063653+Lumabots@users.noreply.github.com>
@Paillat-dev
Copy link
Member

Yes

Copilot AI added a commit that referenced this pull request Nov 15, 2025
Co-authored-by: Lumabots <144063653+Lumabots@users.noreply.github.com>
@Lumabots Lumabots requested review from a team as code owners November 15, 2025 09:48
@Paillat-dev
Copy link
Member

thx

@Paillat-dev Paillat-dev requested a review from Lulalaby November 15, 2025 12:19
@Paillat-dev Paillat-dev removed the hold: changelog This pull request is missing a changelog entry label Nov 15, 2025
@Lulalaby Lulalaby merged commit 8f851aa into Pycord-Development:master Nov 15, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold: testing This pull request requires further testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants