Skip to content

Commit

Permalink
version 3.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Mar 10, 2023
1 parent 6bf2399 commit 4b200f1
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 20 deletions.
28 changes: 20 additions & 8 deletions docs/api-docs/slack_sdk/oauth/authorize_url_generator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1 class="title">Module <code>slack_sdk.oauth.authorize_url_generator</code></h
self.user_scopes = user_scopes
self.authorization_url = authorization_url

def generate(self, state: str) -&gt; str:
def generate(self, state: str, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
user_scopes = &#34;,&#34;.join(self.user_scopes) if self.user_scopes else &#34;&#34;
url = (
Expand All @@ -57,6 +57,8 @@ <h1 class="title">Module <code>slack_sdk.oauth.authorize_url_generator</code></h
)
if self.redirect_uri is not None:
url += f&#34;&amp;redirect_uri={self.redirect_uri}&#34;
if team is not None:
url += f&#34;&amp;team={team}&#34;
return url


Expand All @@ -76,7 +78,7 @@ <h1 class="title">Module <code>slack_sdk.oauth.authorize_url_generator</code></h
self.scopes = scopes
self.authorization_url = authorization_url

def generate(self, state: str, nonce: Optional[str] = None) -&gt; str:
def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
url = (
f&#34;{self.authorization_url}?&#34;
Expand All @@ -86,6 +88,8 @@ <h1 class="title">Module <code>slack_sdk.oauth.authorize_url_generator</code></h
f&#34;scope={scopes}&amp;&#34;
f&#34;redirect_uri={self.redirect_uri}&#34;
)
if team is not None:
url += f&#34;&amp;team={team}&#34;
if nonce is not None:
url += f&#34;&amp;nonce={nonce}&#34;
return url</code></pre>
Expand Down Expand Up @@ -126,7 +130,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
self.user_scopes = user_scopes
self.authorization_url = authorization_url

def generate(self, state: str) -&gt; str:
def generate(self, state: str, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
user_scopes = &#34;,&#34;.join(self.user_scopes) if self.user_scopes else &#34;&#34;
url = (
Expand All @@ -138,20 +142,22 @@ <h2 class="section-title" id="header-classes">Classes</h2>
)
if self.redirect_uri is not None:
url += f&#34;&amp;redirect_uri={self.redirect_uri}&#34;
if team is not None:
url += f&#34;&amp;team={team}&#34;
return url</code></pre>
</details>
<h3>Methods</h3>
<dl>
<dt id="slack_sdk.oauth.authorize_url_generator.AuthorizeUrlGenerator.generate"><code class="name flex">
<span>def <span class="ident">generate</span></span>(<span>self, state: str) ‑> str</span>
<span>def <span class="ident">generate</span></span>(<span>self, state: str, team: Optional[str] = None) ‑> str</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def generate(self, state: str) -&gt; str:
<pre><code class="python">def generate(self, state: str, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
user_scopes = &#34;,&#34;.join(self.user_scopes) if self.user_scopes else &#34;&#34;
url = (
Expand All @@ -163,6 +169,8 @@ <h3>Methods</h3>
)
if self.redirect_uri is not None:
url += f&#34;&amp;redirect_uri={self.redirect_uri}&#34;
if team is not None:
url += f&#34;&amp;team={team}&#34;
return url</code></pre>
</details>
</dd>
Expand Down Expand Up @@ -194,7 +202,7 @@ <h3>Methods</h3>
self.scopes = scopes
self.authorization_url = authorization_url

def generate(self, state: str, nonce: Optional[str] = None) -&gt; str:
def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
url = (
f&#34;{self.authorization_url}?&#34;
Expand All @@ -204,22 +212,24 @@ <h3>Methods</h3>
f&#34;scope={scopes}&amp;&#34;
f&#34;redirect_uri={self.redirect_uri}&#34;
)
if team is not None:
url += f&#34;&amp;team={team}&#34;
if nonce is not None:
url += f&#34;&amp;nonce={nonce}&#34;
return url</code></pre>
</details>
<h3>Methods</h3>
<dl>
<dt id="slack_sdk.oauth.authorize_url_generator.OpenIDConnectAuthorizeUrlGenerator.generate"><code class="name flex">
<span>def <span class="ident">generate</span></span>(<span>self, state: str, nonce: Optional[str] = None) ‑> str</span>
<span>def <span class="ident">generate</span></span>(<span>self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) ‑> str</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def generate(self, state: str, nonce: Optional[str] = None) -&gt; str:
<pre><code class="python">def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
url = (
f&#34;{self.authorization_url}?&#34;
Expand All @@ -229,6 +239,8 @@ <h3>Methods</h3>
f&#34;scope={scopes}&amp;&#34;
f&#34;redirect_uri={self.redirect_uri}&#34;
)
if team is not None:
url += f&#34;&amp;team={team}&#34;
if nonce is not None:
url += f&#34;&amp;nonce={nonce}&#34;
return url</code></pre>
Expand Down
20 changes: 14 additions & 6 deletions docs/api-docs/slack_sdk/oauth/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
self.user_scopes = user_scopes
self.authorization_url = authorization_url

def generate(self, state: str) -&gt; str:
def generate(self, state: str, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
user_scopes = &#34;,&#34;.join(self.user_scopes) if self.user_scopes else &#34;&#34;
url = (
Expand All @@ -123,20 +123,22 @@ <h2 class="section-title" id="header-classes">Classes</h2>
)
if self.redirect_uri is not None:
url += f&#34;&amp;redirect_uri={self.redirect_uri}&#34;
if team is not None:
url += f&#34;&amp;team={team}&#34;
return url</code></pre>
</details>
<h3>Methods</h3>
<dl>
<dt id="slack_sdk.oauth.AuthorizeUrlGenerator.generate"><code class="name flex">
<span>def <span class="ident">generate</span></span>(<span>self, state: str) ‑> str</span>
<span>def <span class="ident">generate</span></span>(<span>self, state: str, team: Optional[str] = None) ‑> str</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def generate(self, state: str) -&gt; str:
<pre><code class="python">def generate(self, state: str, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
user_scopes = &#34;,&#34;.join(self.user_scopes) if self.user_scopes else &#34;&#34;
url = (
Expand All @@ -148,6 +150,8 @@ <h3>Methods</h3>
)
if self.redirect_uri is not None:
url += f&#34;&amp;redirect_uri={self.redirect_uri}&#34;
if team is not None:
url += f&#34;&amp;team={team}&#34;
return url</code></pre>
</details>
</dd>
Expand Down Expand Up @@ -647,7 +651,7 @@ <h3>Methods</h3>
self.scopes = scopes
self.authorization_url = authorization_url

def generate(self, state: str, nonce: Optional[str] = None) -&gt; str:
def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
url = (
f&#34;{self.authorization_url}?&#34;
Expand All @@ -657,22 +661,24 @@ <h3>Methods</h3>
f&#34;scope={scopes}&amp;&#34;
f&#34;redirect_uri={self.redirect_uri}&#34;
)
if team is not None:
url += f&#34;&amp;team={team}&#34;
if nonce is not None:
url += f&#34;&amp;nonce={nonce}&#34;
return url</code></pre>
</details>
<h3>Methods</h3>
<dl>
<dt id="slack_sdk.oauth.OpenIDConnectAuthorizeUrlGenerator.generate"><code class="name flex">
<span>def <span class="ident">generate</span></span>(<span>self, state: str, nonce: Optional[str] = None) ‑> str</span>
<span>def <span class="ident">generate</span></span>(<span>self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) ‑> str</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def generate(self, state: str, nonce: Optional[str] = None) -&gt; str:
<pre><code class="python">def generate(self, state: str, nonce: Optional[str] = None, team: Optional[str] = None) -&gt; str:
scopes = &#34;,&#34;.join(self.scopes) if self.scopes else &#34;&#34;
url = (
f&#34;{self.authorization_url}?&#34;
Expand All @@ -682,6 +688,8 @@ <h3>Methods</h3>
f&#34;scope={scopes}&amp;&#34;
f&#34;redirect_uri={self.redirect_uri}&#34;
)
if team is not None:
url += f&#34;&amp;team={team}&#34;
if nonce is not None:
url += f&#34;&amp;nonce={nonce}&#34;
return url</code></pre>
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.20.1&#34;</code></pre>
__version__ = &#34;3.20.2&#34;</code></pre>
</details>
</section>
<section>
Expand Down
2 changes: 1 addition & 1 deletion slack_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
__version__ = "3.20.1"
__version__ = "3.20.2"

0 comments on commit 4b200f1

Please sign in to comment.