Skip to content

Commit

Permalink
version 3.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Nov 23, 2023
1 parent 639dc9a commit 661eeec
Show file tree
Hide file tree
Showing 13 changed files with 474 additions and 6 deletions.
76 changes: 76 additions & 0 deletions docs/api-docs/slack_sdk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3888,6 +3888,32 @@ <h2 id="note">Note</h2>
)
return self.api_call(&#34;files.completeUploadExternal&#34;, params=kwargs)

def functions_completeSuccess(
self,
*,
function_execution_id: str,
outputs: Dict[str, Any],
**kwargs,
) -&gt; SlackResponse:
&#34;&#34;&#34;Signal the successful completion of a function
https://api.slack.com/methods/functions.completeSuccess
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
return self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)

def functions_completeError(
self,
*,
function_execution_id: str,
error: str,
**kwargs,
) -&gt; SlackResponse:
&#34;&#34;&#34;Signal the failure to execute a function
https://api.slack.com/methods/functions.completeError
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
return self.api_call(&#34;functions.completeError&#34;, params=kwargs)

# --------------------------
# Deprecated: groups.*
# You can use conversations.* APIs instead.
Expand Down Expand Up @@ -10961,6 +10987,54 @@ <h3>Methods</h3>
return completion</code></pre>
</details>
</dd>
<dt id="slack_sdk.WebClient.functions_completeError"><code class="name flex">
<span>def <span class="ident">functions_completeError</span></span>(<span>self, *, function_execution_id: str, error: str, **kwargs) ‑> <a title="slack_sdk.web.slack_response.SlackResponse" href="web/slack_response.html#slack_sdk.web.slack_response.SlackResponse">SlackResponse</a></span>
</code></dt>
<dd>
<div class="desc"><p>Signal the failure to execute a function
<a href="https://api.slack.com/methods/functions.completeError">https://api.slack.com/methods/functions.completeError</a></p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def functions_completeError(
self,
*,
function_execution_id: str,
error: str,
**kwargs,
) -&gt; SlackResponse:
&#34;&#34;&#34;Signal the failure to execute a function
https://api.slack.com/methods/functions.completeError
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
return self.api_call(&#34;functions.completeError&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.WebClient.functions_completeSuccess"><code class="name flex">
<span>def <span class="ident">functions_completeSuccess</span></span>(<span>self, *, function_execution_id: str, outputs: Dict[str, Any], **kwargs) ‑> <a title="slack_sdk.web.slack_response.SlackResponse" href="web/slack_response.html#slack_sdk.web.slack_response.SlackResponse">SlackResponse</a></span>
</code></dt>
<dd>
<div class="desc"><p>Signal the successful completion of a function
<a href="https://api.slack.com/methods/functions.completeSuccess">https://api.slack.com/methods/functions.completeSuccess</a></p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def functions_completeSuccess(
self,
*,
function_execution_id: str,
outputs: Dict[str, Any],
**kwargs,
) -&gt; SlackResponse:
&#34;&#34;&#34;Signal the successful completion of a function
https://api.slack.com/methods/functions.completeSuccess
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
return self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.WebClient.groups_archive"><code class="name flex">
<span>def <span class="ident">groups_archive</span></span>(<span>self, *, channel: str, **kwargs) ‑> <a title="slack_sdk.web.slack_response.SlackResponse" href="web/slack_response.html#slack_sdk.web.slack_response.SlackResponse">SlackResponse</a></span>
</code></dt>
Expand Down Expand Up @@ -14013,6 +14087,8 @@ <h4><code><a title="slack_sdk.WebClient" href="#slack_sdk.WebClient">WebClient</
<li><code><a title="slack_sdk.WebClient.files_sharedPublicURL" href="#slack_sdk.WebClient.files_sharedPublicURL">files_sharedPublicURL</a></code></li>
<li><code><a title="slack_sdk.WebClient.files_upload" href="#slack_sdk.WebClient.files_upload">files_upload</a></code></li>
<li><code><a title="slack_sdk.WebClient.files_upload_v2" href="#slack_sdk.WebClient.files_upload_v2">files_upload_v2</a></code></li>
<li><code><a title="slack_sdk.WebClient.functions_completeError" href="#slack_sdk.WebClient.functions_completeError">functions_completeError</a></code></li>
<li><code><a title="slack_sdk.WebClient.functions_completeSuccess" href="#slack_sdk.WebClient.functions_completeSuccess">functions_completeSuccess</a></code></li>
<li><code><a title="slack_sdk.WebClient.groups_archive" href="#slack_sdk.WebClient.groups_archive">groups_archive</a></code></li>
<li><code><a title="slack_sdk.WebClient.groups_create" href="#slack_sdk.WebClient.groups_create">groups_create</a></code></li>
<li><code><a title="slack_sdk.WebClient.groups_createChild" href="#slack_sdk.WebClient.groups_createChild">groups_createChild</a></code></li>
Expand Down
6 changes: 6 additions & 0 deletions docs/api-docs/slack_sdk/models/blocks/blocks.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.blocks</code></h1>
return HeaderBlock(**block)
elif type == VideoBlock.type:
return VideoBlock(**block)
elif type == RichTextBlock.type:
return RichTextBlock(**block)
else:
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
return None
Expand Down Expand Up @@ -861,6 +863,8 @@ <h3>Inherited members</h3>
return HeaderBlock(**block)
elif type == VideoBlock.type:
return VideoBlock(**block)
elif type == RichTextBlock.type:
return RichTextBlock(**block)
else:
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
return None
Expand Down Expand Up @@ -942,6 +946,8 @@ <h3>Static methods</h3>
return HeaderBlock(**block)
elif type == VideoBlock.type:
return VideoBlock(**block)
elif type == RichTextBlock.type:
return RichTextBlock(**block)
else:
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
return None
Expand Down
4 changes: 4 additions & 0 deletions docs/api-docs/slack_sdk/models/blocks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ <h3>Inherited members</h3>
return HeaderBlock(**block)
elif type == VideoBlock.type:
return VideoBlock(**block)
elif type == RichTextBlock.type:
return RichTextBlock(**block)
else:
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
return None
Expand Down Expand Up @@ -448,6 +450,8 @@ <h3>Static methods</h3>
return HeaderBlock(**block)
elif type == VideoBlock.type:
return VideoBlock(**block)
elif type == RichTextBlock.type:
return RichTextBlock(**block)
else:
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
return None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="slack_sdk.oauth.installation_store.file.FileInstallationStore"><code class="flex name class">
<span>class <span class="ident">FileInstallationStore</span></span>
<span>(</span><span>*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, base_dir: str = '/Users/seratch/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"><p>The installation store interface.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <h3>Methods</h3>
</dd>
<dt id="slack_sdk.oauth.installation_store.FileInstallationStore"><code class="flex name class">
<span>class <span class="ident">FileInstallationStore</span></span>
<span>(</span><span>*, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, base_dir: str = '/Users/seratch/.bolt-app-installation', historical_data_enabled: bool = True, client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.installation_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"><p>The installation store interface.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/slack_sdk/oauth/state_store/file/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="slack_sdk.oauth.state_store.file.FileOAuthStateStore"><code class="flex name class">
<span>class <span class="ident">FileOAuthStateStore</span></span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/seratch/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/slack_sdk/oauth/state_store/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="slack_sdk.oauth.state_store.FileOAuthStateStore"><code class="flex name class">
<span>class <span class="ident">FileOAuthStateStore</span></span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/kazuhiro.sera/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
<span>(</span><span>*, expiration_seconds: int, base_dir: str = '/Users/seratch/.bolt-app-oauth-state', client_id: Optional[str] = None, logger: logging.Logger = &lt;Logger slack_sdk.oauth.state_store.file (WARNING)&gt;)</span>
</code></dt>
<dd>
<div class="desc"></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/api-docs/slack_sdk/version.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_sdk.version</code></h1>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Check the latest version at https://pypi.org/project/slack-sdk/&#34;&#34;&#34;
__version__ = &#34;3.25.0&#34;</code></pre>
__version__ = &#34;3.26.0&#34;</code></pre>
</details>
</section>
<section>
Expand Down
102 changes: 102 additions & 0 deletions docs/api-docs/slack_sdk/web/async_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -3687,6 +3687,32 @@ <h1 class="title">Module <code>slack_sdk.web.async_client</code></h1>
)
return await self.api_call(&#34;files.completeUploadExternal&#34;, params=kwargs)

async def functions_completeSuccess(
self,
*,
function_execution_id: str,
outputs: Dict[str, Any],
**kwargs,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Signal the successful completion of a function
https://api.slack.com/methods/functions.completeSuccess
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
return await self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)

async def functions_completeError(
self,
*,
function_execution_id: str,
error: str,
**kwargs,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Signal the failure to execute a function
https://api.slack.com/methods/functions.completeError
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
return await self.api_call(&#34;functions.completeError&#34;, params=kwargs)

# --------------------------
# Deprecated: groups.*
# You can use conversations.* APIs instead.
Expand Down Expand Up @@ -8823,6 +8849,32 @@ <h2 id="note">Note</h2>
)
return await self.api_call(&#34;files.completeUploadExternal&#34;, params=kwargs)

async def functions_completeSuccess(
self,
*,
function_execution_id: str,
outputs: Dict[str, Any],
**kwargs,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Signal the successful completion of a function
https://api.slack.com/methods/functions.completeSuccess
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
return await self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)

async def functions_completeError(
self,
*,
function_execution_id: str,
error: str,
**kwargs,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Signal the failure to execute a function
https://api.slack.com/methods/functions.completeError
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
return await self.api_call(&#34;functions.completeError&#34;, params=kwargs)

# --------------------------
# Deprecated: groups.*
# You can use conversations.* APIs instead.
Expand Down Expand Up @@ -15896,6 +15948,54 @@ <h3>Methods</h3>
return completion</code></pre>
</details>
</dd>
<dt id="slack_sdk.web.async_client.AsyncWebClient.functions_completeError"><code class="name flex">
<span>async def <span class="ident">functions_completeError</span></span>(<span>self, *, function_execution_id: str, error: str, **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
</code></dt>
<dd>
<div class="desc"><p>Signal the failure to execute a function
<a href="https://api.slack.com/methods/functions.completeError">https://api.slack.com/methods/functions.completeError</a></p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">async def functions_completeError(
self,
*,
function_execution_id: str,
error: str,
**kwargs,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Signal the failure to execute a function
https://api.slack.com/methods/functions.completeError
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
return await self.api_call(&#34;functions.completeError&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess"><code class="name flex">
<span>async def <span class="ident">functions_completeSuccess</span></span>(<span>self, *, function_execution_id: str, outputs: Dict[str, Any], **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
</code></dt>
<dd>
<div class="desc"><p>Signal the successful completion of a function
<a href="https://api.slack.com/methods/functions.completeSuccess">https://api.slack.com/methods/functions.completeSuccess</a></p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">async def functions_completeSuccess(
self,
*,
function_execution_id: str,
outputs: Dict[str, Any],
**kwargs,
) -&gt; AsyncSlackResponse:
&#34;&#34;&#34;Signal the successful completion of a function
https://api.slack.com/methods/functions.completeSuccess
&#34;&#34;&#34;
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
return await self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)</code></pre>
</details>
</dd>
<dt id="slack_sdk.web.async_client.AsyncWebClient.groups_archive"><code class="name flex">
<span>async def <span class="ident">groups_archive</span></span>(<span>self, *, channel: str, **kwargs) ‑> <a title="slack_sdk.web.async_slack_response.AsyncSlackResponse" href="async_slack_response.html#slack_sdk.web.async_slack_response.AsyncSlackResponse">AsyncSlackResponse</a></span>
</code></dt>
Expand Down Expand Up @@ -18487,6 +18587,8 @@ <h4><code><a title="slack_sdk.web.async_client.AsyncWebClient" href="#slack_sdk.
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.files_sharedPublicURL" href="#slack_sdk.web.async_client.AsyncWebClient.files_sharedPublicURL">files_sharedPublicURL</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.files_upload" href="#slack_sdk.web.async_client.AsyncWebClient.files_upload">files_upload</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.files_upload_v2" href="#slack_sdk.web.async_client.AsyncWebClient.files_upload_v2">files_upload_v2</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.functions_completeError" href="#slack_sdk.web.async_client.AsyncWebClient.functions_completeError">functions_completeError</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess" href="#slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess">functions_completeSuccess</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.groups_archive" href="#slack_sdk.web.async_client.AsyncWebClient.groups_archive">groups_archive</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.groups_create" href="#slack_sdk.web.async_client.AsyncWebClient.groups_create">groups_create</a></code></li>
<li><code><a title="slack_sdk.web.async_client.AsyncWebClient.groups_createChild" href="#slack_sdk.web.async_client.AsyncWebClient.groups_createChild">groups_createChild</a></code></li>
Expand Down
Loading

0 comments on commit 661eeec

Please sign in to comment.