File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- from functools import partial
4
3
from collections .abc import Sequence
4
+ from functools import partial
5
5
from typing import TYPE_CHECKING , ClassVar , Iterator , TypeVar
6
6
7
7
from ..components import ActionRow as ActionRowComponent
8
- from ..components import SelectOption , SelectDefaultValue , _component_factory
8
+ from ..components import SelectDefaultValue , SelectOption , _component_factory
9
9
from ..enums import ButtonStyle , ChannelType , ComponentType
10
10
from ..utils import find , get
11
11
from .button import Button
@@ -322,7 +322,7 @@ def add_select(
322
322
channel_types = channel_types or [],
323
323
disabled = disabled ,
324
324
id = id ,
325
- default_values = default_values
325
+ default_values = default_values ,
326
326
)
327
327
328
328
return self .add_item (select )
Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- from typing import TYPE_CHECKING , Iterator , TypeVar
4
3
from collections .abc import Sequence
4
+ from typing import TYPE_CHECKING , Iterator , TypeVar
5
5
6
6
from ..components import Label as LabelComponent
7
- from ..components import SelectOption , SelectDefaultValue , _component_factory
7
+ from ..components import SelectDefaultValue , SelectOption , _component_factory
8
8
from ..enums import ButtonStyle , ChannelType , ComponentType , InputTextStyle
9
9
from ..utils import find , get
10
10
from .button import Button
@@ -293,7 +293,7 @@ def set_select(
293
293
channel_types = channel_types or [],
294
294
required = required ,
295
295
id = id ,
296
- default_values = default_values
296
+ default_values = default_values ,
297
297
)
298
298
299
299
return self .set_item (select )
You can’t perform that action at this time.
0 commit comments