Skip to content

Commit

Permalink
version 3.8.0 (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jul 15, 2021
1 parent dcf1c7c commit 8bbb5d4
Show file tree
Hide file tree
Showing 33 changed files with 4,267 additions and 550 deletions.
578 changes: 575 additions & 3 deletions docs/api-docs/slack_sdk/audit_logs/v1/logs.html

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions docs/api-docs/slack_sdk/errors/index.html
Expand Up @@ -62,6 +62,15 @@ <h1 class="title">Module <code>slack_sdk.errors</code></h1>
super(SlackApiError, self).__init__(msg)


class SlackTokenRotationError(SlackClientError):
&#34;&#34;&#34;Error raised when the oauth.v2.access call for token rotation fails&#34;&#34;&#34;

api_error: SlackApiError

def __init__(self, api_error: SlackApiError):
self.api_error = api_error


class SlackClientNotConnectedError(SlackClientError):
&#34;&#34;&#34;Error raised when attempting to send messages over the websocket when the
connection is closed.&#34;&#34;&#34;
Expand Down Expand Up @@ -199,6 +208,7 @@ <h3>Subclasses</h3>
<li><a title="slack_sdk.errors.SlackClientNotConnectedError" href="#slack_sdk.errors.SlackClientNotConnectedError">SlackClientNotConnectedError</a></li>
<li><a title="slack_sdk.errors.SlackObjectFormationError" href="#slack_sdk.errors.SlackObjectFormationError">SlackObjectFormationError</a></li>
<li><a title="slack_sdk.errors.SlackRequestError" href="#slack_sdk.errors.SlackRequestError">SlackRequestError</a></li>
<li><a title="slack_sdk.errors.SlackTokenRotationError" href="#slack_sdk.errors.SlackTokenRotationError">SlackTokenRotationError</a></li>
</ul>
</dd>
<dt id="slack_sdk.errors.SlackClientNotConnectedError"><code class="flex name class">
Expand Down Expand Up @@ -263,6 +273,38 @@ <h3>Ancestors</h3>
<li>builtins.BaseException</li>
</ul>
</dd>
<dt id="slack_sdk.errors.SlackTokenRotationError"><code class="flex name class">
<span>class <span class="ident">SlackTokenRotationError</span></span>
<span>(</span><span>api_error: <a title="slack_sdk.errors.SlackApiError" href="#slack_sdk.errors.SlackApiError">SlackApiError</a>)</span>
</code></dt>
<dd>
<div class="desc"><p>Error raised when the oauth.v2.access call for token rotation fails</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">class SlackTokenRotationError(SlackClientError):
&#34;&#34;&#34;Error raised when the oauth.v2.access call for token rotation fails&#34;&#34;&#34;

api_error: SlackApiError

def __init__(self, api_error: SlackApiError):
self.api_error = api_error</code></pre>
</details>
<h3>Ancestors</h3>
<ul class="hlist">
<li><a title="slack_sdk.errors.SlackClientError" href="#slack_sdk.errors.SlackClientError">SlackClientError</a></li>
<li>builtins.Exception</li>
<li>builtins.BaseException</li>
</ul>
<h3>Class variables</h3>
<dl>
<dt id="slack_sdk.errors.SlackTokenRotationError.api_error"><code class="name">var <span class="ident">api_error</span><a title="slack_sdk.errors.SlackApiError" href="#slack_sdk.errors.SlackApiError">SlackApiError</a></code></dt>
<dd>
<div class="desc"></div>
</dd>
</dl>
</dd>
</dl>
</section>
</article>
Expand Down Expand Up @@ -300,6 +342,12 @@ <h4><code><a title="slack_sdk.errors.SlackObjectFormationError" href="#slack_sdk
<li>
<h4><code><a title="slack_sdk.errors.SlackRequestError" href="#slack_sdk.errors.SlackRequestError">SlackRequestError</a></code></h4>
</li>
<li>
<h4><code><a title="slack_sdk.errors.SlackTokenRotationError" href="#slack_sdk.errors.SlackTokenRotationError">SlackTokenRotationError</a></code></h4>
<ul class="">
<li><code><a title="slack_sdk.errors.SlackTokenRotationError.api_error" href="#slack_sdk.errors.SlackTokenRotationError.api_error">api_error</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
Expand Down
45 changes: 37 additions & 8 deletions docs/api-docs/slack_sdk/models/blocks/block_elements.html
Expand Up @@ -177,10 +177,17 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
subtype: Optional[str] = None,
**others: dict,
):
&#34;&#34;&#34;An interactive block element.

We generally recommend using the concrete subclasses for better supports of available properties.
&#34;&#34;&#34;
if subtype:
self._subtype_warning()
super().__init__(type=type or subtype)
show_unknown_key_warning(self, others)

# Note that we don&#39;t intentionally have show_unknown_key_warning for the unknown key warnings here.
# It&#39;s fine to pass any kwargs to the held dict here although the class does not do any validation.
# show_unknown_key_warning(self, others)

self.action_id = action_id

Expand Down Expand Up @@ -218,11 +225,17 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.block_elements</code></h1
confirm: Optional[Union[dict, ConfirmObject]] = None,
**others: dict,
):
&#34;&#34;&#34;InteractiveElement that is usable in input blocks&#34;&#34;&#34;
&#34;&#34;&#34;InteractiveElement that is usable in input blocks

We generally recommend using the concrete subclasses for better supports of available properties.
&#34;&#34;&#34;
if subtype:
self._subtype_warning()
super().__init__(action_id=action_id, type=type or subtype)
show_unknown_key_warning(self, others)

# Note that we don&#39;t intentionally have show_unknown_key_warning for the unknown key warnings here.
# It&#39;s fine to pass any kwargs to the held dict here although the class does not do any validation.
# show_unknown_key_warning(self, others)

self.placeholder = TextObject.parse(placeholder)
self.confirm = ConfirmObject.parse(confirm)
Expand Down Expand Up @@ -2383,7 +2396,8 @@ <h3>Inherited members</h3>
<dd>
<div class="desc"><p>Block Elements are things that exists inside of your Blocks.
<a href="https://api.slack.com/reference/block-kit/block-elements">https://api.slack.com/reference/block-kit/block-elements</a></p>
<p>InteractiveElement that is usable in input blocks</p></div>
<p>InteractiveElement that is usable in input blocks</p>
<p>We generally recommend using the concrete subclasses for better supports of available properties.</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
Expand Down Expand Up @@ -2413,11 +2427,17 @@ <h3>Inherited members</h3>
confirm: Optional[Union[dict, ConfirmObject]] = None,
**others: dict,
):
&#34;&#34;&#34;InteractiveElement that is usable in input blocks&#34;&#34;&#34;
&#34;&#34;&#34;InteractiveElement that is usable in input blocks

We generally recommend using the concrete subclasses for better supports of available properties.
&#34;&#34;&#34;
if subtype:
self._subtype_warning()
super().__init__(action_id=action_id, type=type or subtype)
show_unknown_key_warning(self, others)

# Note that we don&#39;t intentionally have show_unknown_key_warning for the unknown key warnings here.
# It&#39;s fine to pass any kwargs to the held dict here although the class does not do any validation.
# show_unknown_key_warning(self, others)

self.placeholder = TextObject.parse(placeholder)
self.confirm = ConfirmObject.parse(confirm)
Expand Down Expand Up @@ -2498,7 +2518,9 @@ <h3>Inherited members</h3>
</code></dt>
<dd>
<div class="desc"><p>Block Elements are things that exists inside of your Blocks.
<a href="https://api.slack.com/reference/block-kit/block-elements">https://api.slack.com/reference/block-kit/block-elements</a></p></div>
<a href="https://api.slack.com/reference/block-kit/block-elements">https://api.slack.com/reference/block-kit/block-elements</a></p>
<p>An interactive block element.</p>
<p>We generally recommend using the concrete subclasses for better supports of available properties.</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
Expand All @@ -2518,10 +2540,17 @@ <h3>Inherited members</h3>
subtype: Optional[str] = None,
**others: dict,
):
&#34;&#34;&#34;An interactive block element.

We generally recommend using the concrete subclasses for better supports of available properties.
&#34;&#34;&#34;
if subtype:
self._subtype_warning()
super().__init__(type=type or subtype)
show_unknown_key_warning(self, others)

# Note that we don&#39;t intentionally have show_unknown_key_warning for the unknown key warnings here.
# It&#39;s fine to pass any kwargs to the held dict here although the class does not do any validation.
# show_unknown_key_warning(self, others)

self.action_id = action_id

Expand Down
5 changes: 5 additions & 0 deletions docs/api-docs/slack_sdk/oauth/index.html
Expand Up @@ -62,6 +62,10 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2>
<dd>
<div class="desc"></div>
</dd>
<dt><code class="name"><a title="slack_sdk.oauth.token_rotation" href="token_rotation/index.html">slack_sdk.oauth.token_rotation</a></code></dt>
<dd>
<div class="desc"></div>
</dd>
</dl>
</section>
<section>
Expand Down Expand Up @@ -89,6 +93,7 @@ <h1>Index</h1>
<li><code><a title="slack_sdk.oauth.redirect_uri_page_renderer" href="redirect_uri_page_renderer/index.html">slack_sdk.oauth.redirect_uri_page_renderer</a></code></li>
<li><code><a title="slack_sdk.oauth.state_store" href="state_store/index.html">slack_sdk.oauth.state_store</a></code></li>
<li><code><a title="slack_sdk.oauth.state_utils" href="state_utils/index.html">slack_sdk.oauth.state_utils</a></code></li>
<li><code><a title="slack_sdk.oauth.token_rotation" href="token_rotation/index.html">slack_sdk.oauth.token_rotation</a></code></li>
</ul>
</li>
</ul>
Expand Down

0 comments on commit 8bbb5d4

Please sign in to comment.