diff --git a/docs/reference/models/blocks/basic_components.html b/docs/reference/models/blocks/basic_components.html index 50554265d..2821b6a4b 100644 --- a/docs/reference/models/blocks/basic_components.html +++ b/docs/reference/models/blocks/basic_components.html @@ -188,7 +188,7 @@

Class variables

Static methods

-def parse(confirm: ConfirmObject | Dict[str, Any]) +def parse(confirm: ForwardRef('ConfirmObject') | Dict[str, Any])
@@ -324,7 +324,7 @@

Class variables

Static methods

-def parse(config: DispatchActionConfig | Dict[str, Any]) +def parse(config: ForwardRef('DispatchActionConfig') | Dict[str, Any])
@@ -446,7 +446,7 @@

Class variables

Static methods

-def parse(feedback_button: FeedbackButtonObject | Dict[str, Any]) +def parse(feedback_button: ForwardRef('FeedbackButtonObject') | Dict[str, Any])
@@ -907,7 +907,7 @@

Static methods

Creates a simple Option instance with the same value and label

-def parse_all(options: Sequence[Dict[str, Any] | Option] | None) ‑> List[Option] | None +def parse_all(options: Sequence[Dict[str, Any] | ForwardRef('Option')] | None) ‑> List[Option] | None
@@ -1105,7 +1105,7 @@

Class variables

Static methods

-def parse_all(option_groups: Sequence[Dict[str, Any] | OptionGroup] | None) ‑> List[OptionGroup] | None +def parse_all(option_groups: Sequence[Dict[str, Any] | ForwardRef('OptionGroup')] | None) ‑> List[OptionGroup] | None
@@ -1536,7 +1536,7 @@

Class variables

Static methods

-def parse(text: str | Dict[str, Any] | TextObject,
default_type: str = 'mrkdwn') ‑> TextObject | None
+def parse(text: str | Dict[str, Any] | ForwardRef('TextObject'),
default_type: str = 'mrkdwn') ‑> TextObject | None
diff --git a/docs/reference/models/blocks/block_elements.html b/docs/reference/models/blocks/block_elements.html index e79ac10d1..880573706 100644 --- a/docs/reference/models/blocks/block_elements.html +++ b/docs/reference/models/blocks/block_elements.html @@ -146,13 +146,13 @@

Class variables

Static methods

-def parse(block_element: dict | BlockElement) ‑> BlockElement | TextObject | None +def parse(block_element: dict | ForwardRef('BlockElement')) ‑> BlockElement | TextObject | None
-def parse_all(block_elements: Sequence[dict | BlockElement | TextObject]) ‑> List[BlockElement | TextObject] +def parse_all(block_elements: Sequence[dict | ForwardRef('BlockElement') | TextObject]) ‑> List[BlockElement | TextObject]
@@ -829,7 +829,7 @@

Class variables

Static methods

-def parse(filter: dict | ConversationFilter) +def parse(filter: dict | ForwardRef('ConversationFilter'))
@@ -3505,7 +3505,7 @@

Class variables

class RichTextInputElement -(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_value: Dict[str, Any] | RichTextBlock | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
**others: dict)
+(*,
action_id: str | None = None,
placeholder: str | dict | TextObject | None = None,
initial_value: Dict[str, Any] | ForwardRef('RichTextBlock') | None = None,
dispatch_action_config: dict | DispatchActionConfig | None = None,
focus_on_load: bool | None = None,
**others: dict)
diff --git a/docs/reference/models/blocks/blocks.html b/docs/reference/models/blocks/blocks.html index a4f511858..af825e54a 100644 --- a/docs/reference/models/blocks/blocks.html +++ b/docs/reference/models/blocks/blocks.html @@ -298,13 +298,13 @@

Class variables

Static methods

-def parse(block: dict | Block) ‑> Block | None +def parse(block: dict | ForwardRef('Block')) ‑> Block | None
-def parse_all(blocks: Sequence[dict | Block] | None) ‑> List[Block] +def parse_all(blocks: Sequence[dict | ForwardRef('Block')] | None) ‑> List[Block]
@@ -1365,7 +1365,7 @@

Inherited members

block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id. title (required): Title of the plan in plain text - tasks: Details of the task in the form of a single "rich_text" entity. + tasks: A sequence of task card blocks. Each task represents a single action within the plan. """ super().__init__(type=self.type, block_id=block_id) show_unknown_key_warning(self, others) @@ -1388,7 +1388,7 @@

Args

title : required
Title of the plan in plain text
tasks
-
Details of the task in the form of a single "rich_text" entity.
+
A sequence of task card blocks. Each task represents a single action within the plan.

Ancestors

    diff --git a/docs/reference/models/blocks/index.html b/docs/reference/models/blocks/index.html index 4444d208b..536590edf 100644 --- a/docs/reference/models/blocks/index.html +++ b/docs/reference/models/blocks/index.html @@ -320,13 +320,13 @@

    Class variables

    Static methods

    -def parse(block: dict | Block) ‑> Block | None +def parse(block: dict | ForwardRef('Block')) ‑> Block | None
    -def parse_all(blocks: Sequence[dict | Block] | None) ‑> List[Block] +def parse_all(blocks: Sequence[dict | ForwardRef('Block')] | None) ‑> List[Block]
    @@ -458,13 +458,13 @@

    Class variables

    Static methods

    -def parse(block_element: dict | BlockElement) ‑> BlockElement | TextObject | None +def parse(block_element: dict | ForwardRef('BlockElement')) ‑> BlockElement | TextObject | None
    -def parse_all(block_elements: Sequence[dict | BlockElement | TextObject]) ‑> List[BlockElement | TextObject] +def parse_all(block_elements: Sequence[dict | ForwardRef('BlockElement') | TextObject]) ‑> List[BlockElement | TextObject]
    @@ -1278,7 +1278,7 @@

    Class variables

    Static methods

    -def parse(confirm: ConfirmObject | Dict[str, Any]) +def parse(confirm: ForwardRef('ConfirmObject') | Dict[str, Any])
    @@ -1650,7 +1650,7 @@

    Class variables

    Static methods

    -def parse(filter: dict | ConversationFilter) +def parse(filter: dict | ForwardRef('ConversationFilter'))
    @@ -2842,7 +2842,7 @@

    Class variables

    Static methods

    -def parse(feedback_button: FeedbackButtonObject | Dict[str, Any]) +def parse(feedback_button: ForwardRef('FeedbackButtonObject') | Dict[str, Any])
    @@ -4727,7 +4727,7 @@

    Static methods

    Creates a simple Option instance with the same value and label

    -def parse_all(options: Sequence[Dict[str, Any] | Option] | None) ‑> List[Option] | None +def parse_all(options: Sequence[Dict[str, Any] | ForwardRef('Option')] | None) ‑> List[Option] | None
    @@ -4925,7 +4925,7 @@

    Class variables

    Static methods

    -def parse_all(option_groups: Sequence[Dict[str, Any] | OptionGroup] | None) ‑> List[OptionGroup] | None +def parse_all(option_groups: Sequence[Dict[str, Any] | ForwardRef('OptionGroup')] | None) ‑> List[OptionGroup] | None
    @@ -5390,7 +5390,7 @@

    Inherited members

    block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id. title (required): Title of the plan in plain text - tasks: Details of the task in the form of a single "rich_text" entity. + tasks: A sequence of task card blocks. Each task represents a single action within the plan. """ super().__init__(type=self.type, block_id=block_id) show_unknown_key_warning(self, others) @@ -5413,7 +5413,7 @@

    Args

    title : required
    Title of the plan in plain text
    tasks
    -
    Details of the task in the form of a single "rich_text" entity.
    +
    A sequence of task card blocks. Each task represents a single action within the plan.

    Ancestors

      @@ -6143,7 +6143,7 @@

      Class variables

    class RichTextInputElement -(*,
    action_id: str | None = None,
    placeholder: str | dict | TextObject | None = None,
    initial_value: Dict[str, Any] | RichTextBlock | None = None,
    dispatch_action_config: dict | DispatchActionConfig | None = None,
    focus_on_load: bool | None = None,
    **others: dict)
    +(*,
    action_id: str | None = None,
    placeholder: str | dict | TextObject | None = None,
    initial_value: Dict[str, Any] | ForwardRef('RichTextBlock') | None = None,
    dispatch_action_config: dict | DispatchActionConfig | None = None,
    focus_on_load: bool | None = None,
    **others: dict)
    @@ -7547,7 +7547,7 @@

    Class variables

    Static methods

    -def parse(text: str | Dict[str, Any] | TextObject,
    default_type: str = 'mrkdwn') ‑> TextObject | None
    +def parse(text: str | Dict[str, Any] | ForwardRef('TextObject'),
    default_type: str = 'mrkdwn') ‑> TextObject | None
    diff --git a/docs/reference/models/messages/chunk.html b/docs/reference/models/messages/chunk.html index 49c1ef1bc..100f83fa4 100644 --- a/docs/reference/models/messages/chunk.html +++ b/docs/reference/models/messages/chunk.html @@ -121,7 +121,7 @@

    Class variables

    Static methods

    -def parse(chunk: Dict | Chunk) ‑> Chunk | None +def parse(chunk: Dict | ForwardRef('Chunk')) ‑> Chunk | None
    diff --git a/docs/reference/models/views/index.html b/docs/reference/models/views/index.html index b7bad66bc..d9e60359b 100644 --- a/docs/reference/models/views/index.html +++ b/docs/reference/models/views/index.html @@ -48,7 +48,7 @@

    Classes

    class View -(type: str,
    id: str | None = None,
    callback_id: str | None = None,
    external_id: str | None = None,
    team_id: str | None = None,
    bot_id: str | None = None,
    app_id: str | None = None,
    root_view_id: str | None = None,
    previous_view_id: str | None = None,
    title: str | dict | PlainTextObject | None = None,
    submit: str | dict | PlainTextObject | None = None,
    close: str | dict | PlainTextObject | None = None,
    blocks: Sequence[dict | Block] | None = None,
    private_metadata: str | None = None,
    state: dict | ViewState | None = None,
    hash: str | None = None,
    clear_on_close: bool | None = None,
    notify_on_close: bool | None = None,
    **kwargs)
    +(type: str,
    id: str | None = None,
    callback_id: str | None = None,
    external_id: str | None = None,
    team_id: str | None = None,
    bot_id: str | None = None,
    app_id: str | None = None,
    root_view_id: str | None = None,
    previous_view_id: str | None = None,
    title: str | dict | PlainTextObject | None = None,
    submit: str | dict | PlainTextObject | None = None,
    close: str | dict | PlainTextObject | None = None,
    blocks: Sequence[dict | Block] | None = None,
    private_metadata: str | None = None,
    state: dict | ForwardRef('ViewState') | None = None,
    hash: str | None = None,
    clear_on_close: bool | None = None,
    notify_on_close: bool | None = None,
    **kwargs)
    @@ -229,7 +229,7 @@

    Inherited members

    class ViewState -(*,
    values: Dict[str, Dict[str, dict | ViewStateValue]])
    +(*,
    values: Dict[str, Dict[str, dict | ForwardRef('ViewStateValue')]])
    diff --git a/slack_sdk/version.py b/slack_sdk/version.py index fb572e0ba..a2910c423 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.39.0" +__version__ = "3.40.0"