mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-28 14:05:05 +00:00
Remove View.from_dict typing
This commit is contained in:
parent
fc12a41cdf
commit
5d49f11709
@ -688,10 +688,6 @@ class View(BaseView):
|
|||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> View:
|
|
||||||
...
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> View:
|
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> View:
|
||||||
...
|
...
|
||||||
@ -786,10 +782,6 @@ class LayoutView(BaseView):
|
|||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> LayoutView:
|
|
||||||
...
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> LayoutView:
|
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> LayoutView:
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user