Skip to content

Commit 54114ca

Browse files
committed
version 1.12.0
1 parent 911e21d commit 54114ca

File tree

8 files changed

+315
-7
lines changed

8 files changed

+315
-7
lines changed

docs/api-docs/slack_bolt/adapter/falcon/async_resource.html

Lines changed: 296 additions & 0 deletions
Large diffs are not rendered by default.

docs/api-docs/slack_bolt/adapter/falcon/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,17 @@ <h1 class="title">Module <code>slack_bolt.adapter.falcon</code></h1>
2626
<summary>
2727
<span>Expand source code</span>
2828
</summary>
29-
<pre><code class="python">from .resource import SlackAppResource</code></pre>
29+
<pre><code class="python"># Don&#39;t add async module imports here
30+
from .resource import SlackAppResource</code></pre>
3031
</details>
3132
</section>
3233
<section>
3334
<h2 class="section-title" id="header-submodules">Sub-modules</h2>
3435
<dl>
36+
<dt><code class="name"><a title="slack_bolt.adapter.falcon.async_resource" href="async_resource.html">slack_bolt.adapter.falcon.async_resource</a></code></dt>
37+
<dd>
38+
<div class="desc"></div>
39+
</dd>
3540
<dt><code class="name"><a title="slack_bolt.adapter.falcon.resource" href="resource.html">slack_bolt.adapter.falcon.resource</a></code></dt>
3641
<dd>
3742
<div class="desc"></div>
@@ -58,6 +63,7 @@ <h1>Index</h1>
5863
</li>
5964
<li><h3><a href="#header-submodules">Sub-modules</a></h3>
6065
<ul>
66+
<li><code><a title="slack_bolt.adapter.falcon.async_resource" href="async_resource.html">slack_bolt.adapter.falcon.async_resource</a></code></li>
6167
<li><code><a title="slack_bolt.adapter.falcon.resource" href="resource.html">slack_bolt.adapter.falcon.resource</a></code></li>
6268
</ul>
6369
</li>

docs/api-docs/slack_bolt/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_bolt.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-bolt/&#34;&#34;&#34;
31-
__version__ = &#34;1.11.6&#34;</code></pre>
31+
__version__ = &#34;1.12.0&#34;</code></pre>
3232
</details>
3333
</section>
3434
<section>

examples/falcon/async_app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010

1111
# @app.command("/bolt-py-proto", [lambda body: body["team_id"] == "T03E94MJU"])
12-
async def test_command(logger: logging.Logger, body: dict, ack: AsyncAck, respond: AsyncRespond):
12+
async def test_command(
13+
logger: logging.Logger, body: dict, ack: AsyncAck, respond: AsyncRespond
14+
):
1315
logger.info(body)
1416
await ack("thanks!")
1517
await respond(

examples/falcon/async_oauth_app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010

1111
# @app.command("/bolt-py-proto", [lambda body: body["team_id"] == "T03E94MJU"])
12-
async def test_command(logger: logging.Logger, body: dict, ack: AsyncAck, respond: AsyncRespond):
12+
async def test_command(
13+
logger: logging.Logger, body: dict, ack: AsyncAck, respond: AsyncRespond
14+
):
1315
logger.info(body)
1416
await ack("thanks!")
1517
await respond(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
),
5757
include_package_data=True, # MANIFEST.in
5858
install_requires=[
59-
"slack_sdk>=3.9.0,<4",
59+
"slack_sdk>=3.15.2,<4",
6060
],
6161
setup_requires=["pytest-runner==5.2"],
6262
tests_require=async_test_dependencies,

slack_bolt/adapter/falcon/async_resource.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ class AsyncSlackAppResource:
2424

2525
def __init__(self, app: AsyncApp): # type: ignore
2626
if falcon_version.__version__.startswith("2."):
27-
raise BoltError("This ASGI compatible adapter requires Falcon version >= 3.0")
27+
raise BoltError(
28+
"This ASGI compatible adapter requires Falcon version >= 3.0"
29+
)
2830

2931
self.app = app
3032

slack_bolt/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Check the latest version at https://pypi.org/project/slack-bolt/"""
2-
__version__ = "1.11.6"
2+
__version__ = "1.12.0"

0 commit comments

Comments
 (0)