@@ -177,10 +177,17 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
177177 subtype: Optional[str] = None,
178178 **others: dict,
179179 ):
180+ """An interactive block element.
181+
182+ We generally recommend using the concrete subclasses for better supports of available properties.
183+ """
180184 if subtype:
181185 self._subtype_warning()
182186 super().__init__(type=type or subtype)
183- show_unknown_key_warning(self, others)
187+
188+ # Note that we don't intentionally have show_unknown_key_warning for the unknown key warnings here.
189+ # It's fine to pass any kwargs to the held dict here although the class does not do any validation.
190+ # show_unknown_key_warning(self, others)
184191
185192 self.action_id = action_id
186193
@@ -218,11 +225,17 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
218225 confirm: Optional[Union[dict, ConfirmObject]] = None,
219226 **others: dict,
220227 ):
221- """InteractiveElement that is usable in input blocks"""
228+ """InteractiveElement that is usable in input blocks
229+
230+ We generally recommend using the concrete subclasses for better supports of available properties.
231+ """
222232 if subtype:
223233 self._subtype_warning()
224234 super().__init__(action_id=action_id, type=type or subtype)
225- show_unknown_key_warning(self, others)
235+
236+ # Note that we don't intentionally have show_unknown_key_warning for the unknown key warnings here.
237+ # It's fine to pass any kwargs to the held dict here although the class does not do any validation.
238+ # show_unknown_key_warning(self, others)
226239
227240 self.placeholder = TextObject.parse(placeholder)
228241 self.confirm = ConfirmObject.parse(confirm)
@@ -2383,7 +2396,8 @@ <h3>Inherited members</h3>
23832396< dd >
23842397< div class ="desc "> < p > Block Elements are things that exists inside of your Blocks.
23852398< a href ="https://api.slack.com/reference/block-kit/block-elements "> https://api.slack.com/reference/block-kit/block-elements</ a > </ p >
2386- < p > InteractiveElement that is usable in input blocks</ p > </ div >
2399+ < p > InteractiveElement that is usable in input blocks</ p >
2400+ < p > We generally recommend using the concrete subclasses for better supports of available properties.</ p > </ div >
23872401< details class ="source ">
23882402< summary >
23892403< span > Expand source code</ span >
@@ -2413,11 +2427,17 @@ <h3>Inherited members</h3>
24132427 confirm: Optional[Union[dict, ConfirmObject]] = None,
24142428 **others: dict,
24152429 ):
2416- """InteractiveElement that is usable in input blocks"""
2430+ """InteractiveElement that is usable in input blocks
2431+
2432+ We generally recommend using the concrete subclasses for better supports of available properties.
2433+ """
24172434 if subtype:
24182435 self._subtype_warning()
24192436 super().__init__(action_id=action_id, type=type or subtype)
2420- show_unknown_key_warning(self, others)
2437+
2438+ # Note that we don't intentionally have show_unknown_key_warning for the unknown key warnings here.
2439+ # It's fine to pass any kwargs to the held dict here although the class does not do any validation.
2440+ # show_unknown_key_warning(self, others)
24212441
24222442 self.placeholder = TextObject.parse(placeholder)
24232443 self.confirm = ConfirmObject.parse(confirm)
@@ -2498,7 +2518,9 @@ <h3>Inherited members</h3>
24982518</ code > </ dt >
24992519< dd >
25002520< div class ="desc "> < p > Block Elements are things that exists inside of your Blocks.
2501- < a href ="https://api.slack.com/reference/block-kit/block-elements "> https://api.slack.com/reference/block-kit/block-elements</ a > </ p > </ div >
2521+ < a href ="https://api.slack.com/reference/block-kit/block-elements "> https://api.slack.com/reference/block-kit/block-elements</ a > </ p >
2522+ < p > An interactive block element.</ p >
2523+ < p > We generally recommend using the concrete subclasses for better supports of available properties.</ p > </ div >
25022524< details class ="source ">
25032525< summary >
25042526< span > Expand source code</ span >
@@ -2518,10 +2540,17 @@ <h3>Inherited members</h3>
25182540 subtype: Optional[str] = None,
25192541 **others: dict,
25202542 ):
2543+ """An interactive block element.
2544+
2545+ We generally recommend using the concrete subclasses for better supports of available properties.
2546+ """
25212547 if subtype:
25222548 self._subtype_warning()
25232549 super().__init__(type=type or subtype)
2524- show_unknown_key_warning(self, others)
2550+
2551+ # Note that we don't intentionally have show_unknown_key_warning for the unknown key warnings here.
2552+ # It's fine to pass any kwargs to the held dict here although the class does not do any validation.
2553+ # show_unknown_key_warning(self, others)
25252554
25262555 self.action_id = action_id
25272556
0 commit comments