Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/async_app.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1 class="title">Module <code>slack_bolt.async_app</code></h1>
<p>Module for creating asyncio based apps</p>
<h3 id="creating-an-async-app">Creating an async app</h3>
<p>If you'd prefer to build your app with <a href="https://docs.python.org/3/library/asyncio.html">asyncio</a>, you can import the <a href="https://docs.aiohttp.org/en/stable/">AIOHTTP</a> library and call the <code><a title="slack_bolt.async_app.AsyncApp" href="#slack_bolt.async_app.AsyncApp">AsyncApp</a></code> constructor. Within async apps, you can use the async/await pattern.</p>
<pre><code class="language-bash"># Python 3.6+ required
<pre><code class="language-bash"># Python 3.7+ required
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👁️‍🗨️ praise: Nice catch!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was generated from the source code 😎

python -m venv .venv
source .venv/bin/activate

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/logger/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<div class="desc"></div>
</dd>
<dt id="slack_bolt.logger.messages.error_message_event_type"><code class="name flex">
<span>def <span class="ident">error_message_event_type</span></span>(<span>event_type: str) ‑> str</span>
<span>def <span class="ident">error_message_event_type</span></span>(<span>event_type: str | re.Pattern) ‑> str</span>
</code></dt>
<dd>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def error_message_event_type(event_type: str) -&gt; str:
<pre><code class="python">def error_message_event_type(event_type: Union[str, Pattern]) -&gt; str:
return (
f&#39;Although the document mentions &#34;{event_type}&#34;, &#39;
&#39;it is not a valid event type. Use &#34;message&#34; instead. &#39;
Expand Down
14 changes: 1 addition & 13 deletions docs/reference/util/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<span>Expand source code</span>
</summary>
<pre><code class="python">def create_copy(original: Any) -&gt; Any:
if sys.version_info.major == 3 and sys.version_info.minor &lt;= 6:
# NOTE: Unfortunately, copy.deepcopy doesn&#39;t work in Python 3.6.5.
# --------------------
# &gt; rv = reductor(4)
# E TypeError: can&#39;t pickle _thread.RLock objects
# ../../.pyenv/versions/3.6.10/lib/python3.6/copy.py:169: TypeError
# --------------------
# As a workaround, this operation uses shallow copies in Python 3.6.
# If your code modifies the shared data in threads / async functions, race conditions may arise.
# Please consider upgrading Python major version to 3.7+ if you encounter some issues due to this.
return copy.copy(original)
else:
return copy.deepcopy(original)</code></pre>
return copy.deepcopy(original)</code></pre>
</details>
<div class="desc"></div>
</dd>
Expand Down
2 changes: 1 addition & 1 deletion slack_bolt/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Check the latest version at https://pypi.org/project/slack-bolt/"""

__version__ = "1.24.0"
__version__ = "1.25.0"
Loading