Skip to content

Commit 661eeec

Browse files
committed
version 3.26.0
1 parent 639dc9a commit 661eeec

File tree

13 files changed

+474
-6
lines changed

13 files changed

+474
-6
lines changed

docs/api-docs/slack_sdk/index.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3888,6 +3888,32 @@ <h2 id="note">Note</h2>
38883888
)
38893889
return self.api_call(&#34;files.completeUploadExternal&#34;, params=kwargs)
38903890

3891+
def functions_completeSuccess(
3892+
self,
3893+
*,
3894+
function_execution_id: str,
3895+
outputs: Dict[str, Any],
3896+
**kwargs,
3897+
) -&gt; SlackResponse:
3898+
&#34;&#34;&#34;Signal the successful completion of a function
3899+
https://api.slack.com/methods/functions.completeSuccess
3900+
&#34;&#34;&#34;
3901+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
3902+
return self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)
3903+
3904+
def functions_completeError(
3905+
self,
3906+
*,
3907+
function_execution_id: str,
3908+
error: str,
3909+
**kwargs,
3910+
) -&gt; SlackResponse:
3911+
&#34;&#34;&#34;Signal the failure to execute a function
3912+
https://api.slack.com/methods/functions.completeError
3913+
&#34;&#34;&#34;
3914+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
3915+
return self.api_call(&#34;functions.completeError&#34;, params=kwargs)
3916+
38913917
# --------------------------
38923918
# Deprecated: groups.*
38933919
# You can use conversations.* APIs instead.
@@ -10961,6 +10987,54 @@ <h3>Methods</h3>
1096110987
return completion</code></pre>
1096210988
</details>
1096310989
</dd>
10990+
<dt id="slack_sdk.WebClient.functions_completeError"><code class="name flex">
10991+
<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>
10992+
</code></dt>
10993+
<dd>
10994+
<div class="desc"><p>Signal the failure to execute a function
10995+
<a href="https://api.slack.com/methods/functions.completeError">https://api.slack.com/methods/functions.completeError</a></p></div>
10996+
<details class="source">
10997+
<summary>
10998+
<span>Expand source code</span>
10999+
</summary>
11000+
<pre><code class="python">def functions_completeError(
11001+
self,
11002+
*,
11003+
function_execution_id: str,
11004+
error: str,
11005+
**kwargs,
11006+
) -&gt; SlackResponse:
11007+
&#34;&#34;&#34;Signal the failure to execute a function
11008+
https://api.slack.com/methods/functions.completeError
11009+
&#34;&#34;&#34;
11010+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
11011+
return self.api_call(&#34;functions.completeError&#34;, params=kwargs)</code></pre>
11012+
</details>
11013+
</dd>
11014+
<dt id="slack_sdk.WebClient.functions_completeSuccess"><code class="name flex">
11015+
<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>
11016+
</code></dt>
11017+
<dd>
11018+
<div class="desc"><p>Signal the successful completion of a function
11019+
<a href="https://api.slack.com/methods/functions.completeSuccess">https://api.slack.com/methods/functions.completeSuccess</a></p></div>
11020+
<details class="source">
11021+
<summary>
11022+
<span>Expand source code</span>
11023+
</summary>
11024+
<pre><code class="python">def functions_completeSuccess(
11025+
self,
11026+
*,
11027+
function_execution_id: str,
11028+
outputs: Dict[str, Any],
11029+
**kwargs,
11030+
) -&gt; SlackResponse:
11031+
&#34;&#34;&#34;Signal the successful completion of a function
11032+
https://api.slack.com/methods/functions.completeSuccess
11033+
&#34;&#34;&#34;
11034+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
11035+
return self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)</code></pre>
11036+
</details>
11037+
</dd>
1096411038
<dt id="slack_sdk.WebClient.groups_archive"><code class="name flex">
1096511039
<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>
1096611040
</code></dt>
@@ -14013,6 +14087,8 @@ <h4><code><a title="slack_sdk.WebClient" href="#slack_sdk.WebClient">WebClient</
1401314087
<li><code><a title="slack_sdk.WebClient.files_sharedPublicURL" href="#slack_sdk.WebClient.files_sharedPublicURL">files_sharedPublicURL</a></code></li>
1401414088
<li><code><a title="slack_sdk.WebClient.files_upload" href="#slack_sdk.WebClient.files_upload">files_upload</a></code></li>
1401514089
<li><code><a title="slack_sdk.WebClient.files_upload_v2" href="#slack_sdk.WebClient.files_upload_v2">files_upload_v2</a></code></li>
14090+
<li><code><a title="slack_sdk.WebClient.functions_completeError" href="#slack_sdk.WebClient.functions_completeError">functions_completeError</a></code></li>
14091+
<li><code><a title="slack_sdk.WebClient.functions_completeSuccess" href="#slack_sdk.WebClient.functions_completeSuccess">functions_completeSuccess</a></code></li>
1401614092
<li><code><a title="slack_sdk.WebClient.groups_archive" href="#slack_sdk.WebClient.groups_archive">groups_archive</a></code></li>
1401714093
<li><code><a title="slack_sdk.WebClient.groups_create" href="#slack_sdk.WebClient.groups_create">groups_create</a></code></li>
1401814094
<li><code><a title="slack_sdk.WebClient.groups_createChild" href="#slack_sdk.WebClient.groups_createChild">groups_createChild</a></code></li>

docs/api-docs/slack_sdk/models/blocks/blocks.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ <h1 class="title">Module <code>slack_sdk.models.blocks.blocks</code></h1>
117117
return HeaderBlock(**block)
118118
elif type == VideoBlock.type:
119119
return VideoBlock(**block)
120+
elif type == RichTextBlock.type:
121+
return RichTextBlock(**block)
120122
else:
121123
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
122124
return None
@@ -861,6 +863,8 @@ <h3>Inherited members</h3>
861863
return HeaderBlock(**block)
862864
elif type == VideoBlock.type:
863865
return VideoBlock(**block)
866+
elif type == RichTextBlock.type:
867+
return RichTextBlock(**block)
864868
else:
865869
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
866870
return None
@@ -942,6 +946,8 @@ <h3>Static methods</h3>
942946
return HeaderBlock(**block)
943947
elif type == VideoBlock.type:
944948
return VideoBlock(**block)
949+
elif type == RichTextBlock.type:
950+
return RichTextBlock(**block)
945951
else:
946952
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
947953
return None

docs/api-docs/slack_sdk/models/blocks/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ <h3>Inherited members</h3>
367367
return HeaderBlock(**block)
368368
elif type == VideoBlock.type:
369369
return VideoBlock(**block)
370+
elif type == RichTextBlock.type:
371+
return RichTextBlock(**block)
370372
else:
371373
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
372374
return None
@@ -448,6 +450,8 @@ <h3>Static methods</h3>
448450
return HeaderBlock(**block)
449451
elif type == VideoBlock.type:
450452
return VideoBlock(**block)
453+
elif type == RichTextBlock.type:
454+
return RichTextBlock(**block)
451455
else:
452456
cls.logger.warning(f&#34;Unknown block detected and skipped ({block})&#34;)
453457
return None

docs/api-docs/slack_sdk/oauth/installation_store/file/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
284284
<dl>
285285
<dt id="slack_sdk.oauth.installation_store.file.FileInstallationStore"><code class="flex name class">
286286
<span>class <span class="ident">FileInstallationStore</span></span>
287-
<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>
287+
<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>
288288
</code></dt>
289289
<dd>
290290
<div class="desc"><p>The installation store interface.</p>

docs/api-docs/slack_sdk/oauth/installation_store/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ <h3>Methods</h3>
340340
</dd>
341341
<dt id="slack_sdk.oauth.installation_store.FileInstallationStore"><code class="flex name class">
342342
<span>class <span class="ident">FileInstallationStore</span></span>
343-
<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>
343+
<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>
344344
</code></dt>
345345
<dd>
346346
<div class="desc"><p>The installation store interface.</p>

docs/api-docs/slack_sdk/oauth/state_store/file/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
110110
<dl>
111111
<dt id="slack_sdk.oauth.state_store.file.FileOAuthStateStore"><code class="flex name class">
112112
<span>class <span class="ident">FileOAuthStateStore</span></span>
113-
<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>
113+
<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>
114114
</code></dt>
115115
<dd>
116116
<div class="desc"></div>

docs/api-docs/slack_sdk/oauth/state_store/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
8080
<dl>
8181
<dt id="slack_sdk.oauth.state_store.FileOAuthStateStore"><code class="flex name class">
8282
<span>class <span class="ident">FileOAuthStateStore</span></span>
83-
<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>
83+
<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>
8484
</code></dt>
8585
<dd>
8686
<div class="desc"></div>

docs/api-docs/slack_sdk/version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1 class="title">Module <code>slack_sdk.version</code></h1>
2828
<span>Expand source code</span>
2929
</summary>
3030
<pre><code class="python">&#34;&#34;&#34;Check the latest version at https://pypi.org/project/slack-sdk/&#34;&#34;&#34;
31-
__version__ = &#34;3.25.0&#34;</code></pre>
31+
__version__ = &#34;3.26.0&#34;</code></pre>
3232
</details>
3333
</section>
3434
<section>

docs/api-docs/slack_sdk/web/async_client.html

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,6 +3687,32 @@ <h1 class="title">Module <code>slack_sdk.web.async_client</code></h1>
36873687
)
36883688
return await self.api_call(&#34;files.completeUploadExternal&#34;, params=kwargs)
36893689

3690+
async def functions_completeSuccess(
3691+
self,
3692+
*,
3693+
function_execution_id: str,
3694+
outputs: Dict[str, Any],
3695+
**kwargs,
3696+
) -&gt; AsyncSlackResponse:
3697+
&#34;&#34;&#34;Signal the successful completion of a function
3698+
https://api.slack.com/methods/functions.completeSuccess
3699+
&#34;&#34;&#34;
3700+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
3701+
return await self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)
3702+
3703+
async def functions_completeError(
3704+
self,
3705+
*,
3706+
function_execution_id: str,
3707+
error: str,
3708+
**kwargs,
3709+
) -&gt; AsyncSlackResponse:
3710+
&#34;&#34;&#34;Signal the failure to execute a function
3711+
https://api.slack.com/methods/functions.completeError
3712+
&#34;&#34;&#34;
3713+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
3714+
return await self.api_call(&#34;functions.completeError&#34;, params=kwargs)
3715+
36903716
# --------------------------
36913717
# Deprecated: groups.*
36923718
# You can use conversations.* APIs instead.
@@ -8823,6 +8849,32 @@ <h2 id="note">Note</h2>
88238849
)
88248850
return await self.api_call(&#34;files.completeUploadExternal&#34;, params=kwargs)
88258851

8852+
async def functions_completeSuccess(
8853+
self,
8854+
*,
8855+
function_execution_id: str,
8856+
outputs: Dict[str, Any],
8857+
**kwargs,
8858+
) -&gt; AsyncSlackResponse:
8859+
&#34;&#34;&#34;Signal the successful completion of a function
8860+
https://api.slack.com/methods/functions.completeSuccess
8861+
&#34;&#34;&#34;
8862+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
8863+
return await self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)
8864+
8865+
async def functions_completeError(
8866+
self,
8867+
*,
8868+
function_execution_id: str,
8869+
error: str,
8870+
**kwargs,
8871+
) -&gt; AsyncSlackResponse:
8872+
&#34;&#34;&#34;Signal the failure to execute a function
8873+
https://api.slack.com/methods/functions.completeError
8874+
&#34;&#34;&#34;
8875+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
8876+
return await self.api_call(&#34;functions.completeError&#34;, params=kwargs)
8877+
88268878
# --------------------------
88278879
# Deprecated: groups.*
88288880
# You can use conversations.* APIs instead.
@@ -15896,6 +15948,54 @@ <h3>Methods</h3>
1589615948
return completion</code></pre>
1589715949
</details>
1589815950
</dd>
15951+
<dt id="slack_sdk.web.async_client.AsyncWebClient.functions_completeError"><code class="name flex">
15952+
<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>
15953+
</code></dt>
15954+
<dd>
15955+
<div class="desc"><p>Signal the failure to execute a function
15956+
<a href="https://api.slack.com/methods/functions.completeError">https://api.slack.com/methods/functions.completeError</a></p></div>
15957+
<details class="source">
15958+
<summary>
15959+
<span>Expand source code</span>
15960+
</summary>
15961+
<pre><code class="python">async def functions_completeError(
15962+
self,
15963+
*,
15964+
function_execution_id: str,
15965+
error: str,
15966+
**kwargs,
15967+
) -&gt; AsyncSlackResponse:
15968+
&#34;&#34;&#34;Signal the failure to execute a function
15969+
https://api.slack.com/methods/functions.completeError
15970+
&#34;&#34;&#34;
15971+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;error&#34;: error})
15972+
return await self.api_call(&#34;functions.completeError&#34;, params=kwargs)</code></pre>
15973+
</details>
15974+
</dd>
15975+
<dt id="slack_sdk.web.async_client.AsyncWebClient.functions_completeSuccess"><code class="name flex">
15976+
<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>
15977+
</code></dt>
15978+
<dd>
15979+
<div class="desc"><p>Signal the successful completion of a function
15980+
<a href="https://api.slack.com/methods/functions.completeSuccess">https://api.slack.com/methods/functions.completeSuccess</a></p></div>
15981+
<details class="source">
15982+
<summary>
15983+
<span>Expand source code</span>
15984+
</summary>
15985+
<pre><code class="python">async def functions_completeSuccess(
15986+
self,
15987+
*,
15988+
function_execution_id: str,
15989+
outputs: Dict[str, Any],
15990+
**kwargs,
15991+
) -&gt; AsyncSlackResponse:
15992+
&#34;&#34;&#34;Signal the successful completion of a function
15993+
https://api.slack.com/methods/functions.completeSuccess
15994+
&#34;&#34;&#34;
15995+
kwargs.update({&#34;function_execution_id&#34;: function_execution_id, &#34;outputs&#34;: json.dumps(outputs)})
15996+
return await self.api_call(&#34;functions.completeSuccess&#34;, params=kwargs)</code></pre>
15997+
</details>
15998+
</dd>
1589915999
<dt id="slack_sdk.web.async_client.AsyncWebClient.groups_archive"><code class="name flex">
1590016000
<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>
1590116001
</code></dt>
@@ -18487,6 +18587,8 @@ <h4><code><a title="slack_sdk.web.async_client.AsyncWebClient" href="#slack_sdk.
1848718587
<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>
1848818588
<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>
1848918589
<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>
18590+
<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>
18591+
<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>
1849018592
<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>
1849118593
<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>
1849218594
<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>

0 commit comments

Comments
 (0)