We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54afda3 commit 6d6ce3eCopy full SHA for 6d6ce3e
discord/ui/action_row.py
@@ -11,9 +11,8 @@
11
from .file import File
12
from .item import Item, ItemCallbackType
13
from .select import Select
14
-from .view import _walk_all_components
15
16
-__all__ = ("Container",)
+__all__ = ("ActionRow",)
17
18
if TYPE_CHECKING:
19
from typing_extensions import Self
@@ -334,7 +333,7 @@ def to_component_dict(self) -> ActionRowPayload:
334
333
335
@classmethod
336
def from_component(cls: type[A], component: ActionRowComponent) -> A:
337
- from .view import _component_to_item
+ from .view import _component_to_item, _walk_all_components
338
339
items = [
340
_component_to_item(c) for c in _walk_all_components(component.components)
0 commit comments