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 @@
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 @@
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 @@
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 @@
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 @@
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"