File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ def __init__(
87
87
self ._underlying : FileUploadComponent = FileUploadComponent ._raw_construct (
88
88
type = ComponentType .file_upload ,
89
89
custom_id = custom_id ,
90
- label = label ,
91
90
min_values = min_values ,
92
91
max_values = max_values ,
93
92
required = required ,
@@ -170,7 +169,6 @@ def values(self) -> list[Attachment] | None:
170
169
return None
171
170
attachments = []
172
171
for attachment_id in self ._values :
173
- print (attachment_id )
174
172
attachment_data = self ._interaction .data ["resolved" ]["attachments" ][
175
173
attachment_id
176
174
]
@@ -187,7 +185,6 @@ def to_component_dict(self) -> FileUploadComponentPayload:
187
185
return self ._underlying .to_dict ()
188
186
189
187
def refresh_from_modal (self , interaction : Interaction , data : dict ) -> None :
190
- print (data )
191
188
self ._interaction = interaction
192
189
self ._values = data .get ("values" , [])
193
190
You can’t perform that action at this time.
0 commit comments