diff --git a/docs/reference/models/blocks/basic_components.html b/docs/reference/models/blocks/basic_components.html index 8a48c9a6a..09ba7e190 100644 --- a/docs/reference/models/blocks/basic_components.html +++ b/docs/reference/models/blocks/basic_components.html @@ -378,6 +378,7 @@

Inherited members

): """ A feedback button element object for either positive or negative feedback. + https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element#button-object-fields Args: text (required): An object containing some text. Maximum length for this field is 75 characters. @@ -410,7 +411,8 @@

Inherited members

return json

The base class for JSON serializable class objects

-

A feedback button element object for either positive or negative feedback.

+

A feedback button element object for either positive or negative feedback. +https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element#button-object-fields

Args

text : required
diff --git a/docs/reference/models/blocks/block_elements.html b/docs/reference/models/blocks/block_elements.html index ac23c73a1..375ee07ce 100644 --- a/docs/reference/models/blocks/block_elements.html +++ b/docs/reference/models/blocks/block_elements.html @@ -1868,6 +1868,7 @@

Inherited members

**others: dict, ): """Buttons to indicate positive or negative feedback. + https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element Args: action_id (required): An identifier for this action. @@ -1885,7 +1886,8 @@

Inherited members

Block Elements are things that exists inside of your Blocks. https://docs.slack.dev/reference/block-kit/block-elements/

-

Buttons to indicate positive or negative feedback.

+

Buttons to indicate positive or negative feedback. +https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element

Args

action_id : required
@@ -2074,6 +2076,7 @@

Inherited members

**others: dict, ): """An icon button to perform actions. + https://docs.slack.dev/reference/block-kit/block-elements/icon-button-element Args: action_id: An identifier for this action. @@ -2103,7 +2106,8 @@

Inherited members

Block Elements are things that exists inside of your Blocks. https://docs.slack.dev/reference/block-kit/block-elements/

-

An icon button to perform actions.

+

An icon button to perform actions. +https://docs.slack.dev/reference/block-kit/block-elements/icon-button-element

Args

action_id
@@ -3225,11 +3229,13 @@

Inherited members

italic: Optional[bool] = None, strike: Optional[bool] = None, code: Optional[bool] = None, + underline: Optional[bool] = None, ): self.bold = bold self.italic = italic self.strike = strike self.code = code + self.underline = underline def to_dict(self, *args) -> dict: result = { @@ -3237,6 +3243,7 @@

Inherited members

"italic": self.italic, "strike": self.strike, "code": self.code, + "underline": self.underline, } return {k: v for k, v in result.items() if v is not None} diff --git a/docs/reference/models/blocks/blocks.html b/docs/reference/models/blocks/blocks.html index e01a02436..f266b5cad 100644 --- a/docs/reference/models/blocks/blocks.html +++ b/docs/reference/models/blocks/blocks.html @@ -433,6 +433,7 @@

Inherited members

**others: dict, ): """Displays actions as contextual info, which can include both feedback buttons and icon buttons. + https://docs.slack.dev/reference/block-kit/blocks/context-actions-block Args: elements (required): An array of feedback_buttons or icon_button block elements. Maximum number of items is 5. @@ -457,7 +458,8 @@

Inherited members

Blocks are a series of components that can be combined to create visually rich and compellingly interactive messages. https://docs.slack.dev/reference/block-kit/blocks

-

Displays actions as contextual info, which can include both feedback buttons and icon buttons.

+

Displays actions as contextual info, which can include both feedback buttons and icon buttons. +https://docs.slack.dev/reference/block-kit/blocks/context-actions-block

Args

elements : required
diff --git a/docs/reference/models/blocks/index.html b/docs/reference/models/blocks/index.html index ad0c7b088..182ab927a 100644 --- a/docs/reference/models/blocks/index.html +++ b/docs/reference/models/blocks/index.html @@ -1369,6 +1369,7 @@

Inherited members

**others: dict, ): """Displays actions as contextual info, which can include both feedback buttons and icon buttons. + https://docs.slack.dev/reference/block-kit/blocks/context-actions-block Args: elements (required): An array of feedback_buttons or icon_button block elements. Maximum number of items is 5. @@ -1393,7 +1394,8 @@

Inherited members

Blocks are a series of components that can be combined to create visually rich and compellingly interactive messages. https://docs.slack.dev/reference/block-kit/blocks

-

Displays actions as contextual info, which can include both feedback buttons and icon buttons.

+

Displays actions as contextual info, which can include both feedback buttons and icon buttons. +https://docs.slack.dev/reference/block-kit/blocks/context-actions-block

Args

elements : required
@@ -2762,6 +2764,7 @@

Inherited members

): """ A feedback button element object for either positive or negative feedback. + https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element#button-object-fields Args: text (required): An object containing some text. Maximum length for this field is 75 characters. @@ -2794,7 +2797,8 @@

Inherited members

return json

The base class for JSON serializable class objects

-

A feedback button element object for either positive or negative feedback.

+

A feedback button element object for either positive or negative feedback. +https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element#button-object-fields

Args

text : required
@@ -2901,6 +2905,7 @@

Inherited members

**others: dict, ): """Buttons to indicate positive or negative feedback. + https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element Args: action_id (required): An identifier for this action. @@ -2918,7 +2923,8 @@

Inherited members

Block Elements are things that exists inside of your Blocks. https://docs.slack.dev/reference/block-kit/block-elements/

-

Buttons to indicate positive or negative feedback.

+

Buttons to indicate positive or negative feedback. +https://docs.slack.dev/reference/block-kit/block-elements/feedback-buttons-element

Args

action_id : required
@@ -3196,6 +3202,7 @@

Inherited members

**others: dict, ): """An icon button to perform actions. + https://docs.slack.dev/reference/block-kit/block-elements/icon-button-element Args: action_id: An identifier for this action. @@ -3225,7 +3232,8 @@

Inherited members

Block Elements are things that exists inside of your Blocks. https://docs.slack.dev/reference/block-kit/block-elements/

-

An icon button to perform actions.

+

An icon button to perform actions. +https://docs.slack.dev/reference/block-kit/block-elements/icon-button-element

Args

action_id
@@ -5617,11 +5625,13 @@

Inherited members

italic: Optional[bool] = None, strike: Optional[bool] = None, code: Optional[bool] = None, + underline: Optional[bool] = None, ): self.bold = bold self.italic = italic self.strike = strike self.code = code + self.underline = underline def to_dict(self, *args) -> dict: result = { @@ -5629,6 +5639,7 @@

Inherited members

"italic": self.italic, "strike": self.strike, "code": self.code, + "underline": self.underline, } return {k: v for k, v in result.items() if v is not None} diff --git a/docs/reference/scim/async_client.html b/docs/reference/scim/async_client.html index 426ca9299..c91441c29 100644 --- a/docs/reference/scim/async_client.html +++ b/docs/reference/scim/async_client.html @@ -163,9 +163,9 @@

Classes

await self.api_call( http_verb="PATCH", path=f"Users/{quote(id)}", - body_params=partial_user.to_dict() - if isinstance(partial_user, User) - else _to_dict_without_not_given(partial_user), + body_params=( + partial_user.to_dict() if isinstance(partial_user, User) else _to_dict_without_not_given(partial_user) + ), ) ) @@ -228,9 +228,11 @@

Classes

await self.api_call( http_verb="PATCH", path=f"Groups/{quote(id)}", - body_params=partial_group.to_dict() - if isinstance(partial_group, Group) - else _to_dict_without_not_given(partial_group), + body_params=( + partial_group.to_dict() + if isinstance(partial_group, Group) + else _to_dict_without_not_given(partial_group) + ), ) ) @@ -620,9 +622,11 @@

Methods

await self.api_call( http_verb="PATCH", path=f"Groups/{quote(id)}", - body_params=partial_group.to_dict() - if isinstance(partial_group, Group) - else _to_dict_without_not_given(partial_group), + body_params=( + partial_group.to_dict() + if isinstance(partial_group, Group) + else _to_dict_without_not_given(partial_group) + ), ) ) @@ -641,9 +645,9 @@

Methods

await self.api_call( http_verb="PATCH", path=f"Users/{quote(id)}", - body_params=partial_user.to_dict() - if isinstance(partial_user, User) - else _to_dict_without_not_given(partial_user), + body_params=( + partial_user.to_dict() if isinstance(partial_user, User) else _to_dict_without_not_given(partial_user) + ), ) ) diff --git a/docs/reference/scim/v1/async_client.html b/docs/reference/scim/v1/async_client.html index 59fb723f3..6a971bb80 100644 --- a/docs/reference/scim/v1/async_client.html +++ b/docs/reference/scim/v1/async_client.html @@ -163,9 +163,9 @@

Classes

await self.api_call( http_verb="PATCH", path=f"Users/{quote(id)}", - body_params=partial_user.to_dict() - if isinstance(partial_user, User) - else _to_dict_without_not_given(partial_user), + body_params=( + partial_user.to_dict() if isinstance(partial_user, User) else _to_dict_without_not_given(partial_user) + ), ) ) @@ -228,9 +228,11 @@

Classes

await self.api_call( http_verb="PATCH", path=f"Groups/{quote(id)}", - body_params=partial_group.to_dict() - if isinstance(partial_group, Group) - else _to_dict_without_not_given(partial_group), + body_params=( + partial_group.to_dict() + if isinstance(partial_group, Group) + else _to_dict_without_not_given(partial_group) + ), ) ) @@ -620,9 +622,11 @@

Methods

await self.api_call( http_verb="PATCH", path=f"Groups/{quote(id)}", - body_params=partial_group.to_dict() - if isinstance(partial_group, Group) - else _to_dict_without_not_given(partial_group), + body_params=( + partial_group.to_dict() + if isinstance(partial_group, Group) + else _to_dict_without_not_given(partial_group) + ), ) ) @@ -641,9 +645,9 @@

Methods

await self.api_call( http_verb="PATCH", path=f"Users/{quote(id)}", - body_params=partial_user.to_dict() - if isinstance(partial_user, User) - else _to_dict_without_not_given(partial_user), + body_params=( + partial_user.to_dict() if isinstance(partial_user, User) else _to_dict_without_not_given(partial_user) + ), ) ) diff --git a/docs/reference/socket_mode/websocket_client/index.html b/docs/reference/socket_mode/websocket_client/index.html index fe43e29b1..b90aa9137 100644 --- a/docs/reference/socket_mode/websocket_client/index.html +++ b/docs/reference/socket_mode/websocket_client/index.html @@ -213,10 +213,10 @@

Classes

self.current_session = websocket.WebSocketApp( self.wss_uri, - on_open=on_open, # type: ignore[arg-type] - on_message=on_message, # type: ignore[arg-type] - on_error=on_error, # type: ignore[arg-type] - on_close=on_close, # type: ignore[arg-type] + on_open=on_open, + on_message=on_message, + on_error=on_error, + on_close=on_close, ) self.auto_reconnect_enabled = self.default_auto_reconnect_enabled @@ -441,10 +441,10 @@

Methods

self.current_session = websocket.WebSocketApp( self.wss_uri, - on_open=on_open, # type: ignore[arg-type] - on_message=on_message, # type: ignore[arg-type] - on_error=on_error, # type: ignore[arg-type] - on_close=on_close, # type: ignore[arg-type] + on_open=on_open, + on_message=on_message, + on_error=on_error, + on_close=on_close, ) self.auto_reconnect_enabled = self.default_auto_reconnect_enabled diff --git a/slack_sdk/version.py b/slack_sdk/version.py index a23f01f83..c787aa278 100644 --- a/slack_sdk/version.py +++ b/slack_sdk/version.py @@ -1,3 +1,3 @@ """Check the latest version at https://pypi.org/project/slack-sdk/""" -__version__ = "3.37.0" +__version__ = "3.38.0"