Skip to content

Expand upper bound for TextDisplay. - #10510

Open
FinestPerfectionism wants to merge 2 commits into
Rapptz:masterfrom
FinestPerfectionism:master
Open

FinestPerfectionism wants to merge 2 commits into
Rapptz:masterfrom
FinestPerfectionism:master

Conversation

@FinestPerfectionism

Copy link
Copy Markdown

Summary

Update the generic type variable V inside discord.ui.TextDisplay to accept Union[LayoutView, Modal].

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • 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, ...)

Expand upper bound for the TextDisplay TypeVar 'V' from 'LayoutView' to 'Union[LayoutView, Modal]'

This branch has not been deployed

No deployments
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