From 5d49f11709cdba5565b39753457ae91381b911bc Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 18 Aug 2025 15:00:42 -0400 Subject: [PATCH] Remove View.from_dict typing --- discord/ui/view.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/discord/ui/view.py b/discord/ui/view.py index 22afae79d..e26072060 100644 --- a/discord/ui/view.py +++ b/discord/ui/view.py @@ -688,10 +688,6 @@ class View(BaseView): if TYPE_CHECKING: - @classmethod - def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> View: - ... - @classmethod def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> View: ... @@ -786,10 +782,6 @@ class LayoutView(BaseView): if TYPE_CHECKING: - @classmethod - def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> LayoutView: - ... - @classmethod def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> LayoutView: ...