Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Exclude tests directory from release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevo committed Aug 28, 2021
1 parent a65fc09 commit 0f80ee3
Show file tree
Hide file tree
Showing 44 changed files with 664 additions and 664 deletions.
2 changes: 1 addition & 1 deletion documentation/docs/custom_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h3 id="types">Types:</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\custom_types.py#L0-L25" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\custom_types.py#L0-L25" class="git-link">Browse git</a>
</summary>
<pre><code class="python">&#34;&#34;&#34;
Custom types for pyFlarum.
Expand Down
6 changes: 3 additions & 3 deletions documentation/docs/datetime_conversions.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="title">Module <code>pyflarum.datetime_conversions</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\datetime_conversions.py#L0-L46" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\datetime_conversions.py#L0-L46" class="git-link">Browse git</a>
</summary>
<pre><code class="python">from typing import Optional

Expand Down Expand Up @@ -93,7 +93,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\datetime_conversions.py#L30-L47" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\datetime_conversions.py#L30-L47" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def datetime_to_flarum(dt: Optional[&#39;datetime | str&#39;]=None):
&#34;&#34;&#34;
Expand Down Expand Up @@ -125,7 +125,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\datetime_conversions.py#L10-L27" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\datetime_conversions.py#L10-L27" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def flarum_to_datetime(flarum_dt: Optional[&#39;str | datetime&#39;]=None):
&#34;&#34;&#34;
Expand Down
12 changes: 6 additions & 6 deletions documentation/docs/error_handler.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="title">Module <code>pyflarum.error_handler</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\error_handler.py#L0-L108" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\error_handler.py#L0-L108" class="git-link">Browse git</a>
</summary>
<pre><code class="python">from typing import Literal, NoReturn, Optional, TYPE_CHECKING
if TYPE_CHECKING:
Expand Down Expand Up @@ -154,7 +154,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\error_handler.py#L64-L109" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\error_handler.py#L64-L109" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def handle_errors(errors: Optional[list[dict[str, str]]]=None, status_code: Optional[str]=None) -&gt; &#39;Literal[True] | NoReturn&#39;:
&#34;&#34;&#34;
Expand Down Expand Up @@ -213,7 +213,7 @@ <h2 class="section-title" id="header-functions">Functions</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\error_handler.py#L36-L61" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\error_handler.py#L36-L61" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def parse_request(response: &#39;Response&#39;) -&gt; &#39;dict | NoReturn | Literal[True]&#39;:
&#34;&#34;&#34;
Expand Down Expand Up @@ -257,7 +257,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\error_handler.py#L12-L22" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\error_handler.py#L12-L22" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class FlarumError(Exception):
&#34;&#34;&#34;
Expand Down Expand Up @@ -286,7 +286,7 @@ <h3>Ancestors</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\error_handler.py#L25-L27" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\error_handler.py#L25-L27" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class MissingExtensionError(Exception):
&#34;&#34;&#34;Missing pyFlarum extension error.&#34;&#34;&#34;
Expand All @@ -307,7 +307,7 @@ <h3>Ancestors</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\error_handler.py#L30-L32" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\error_handler.py#L30-L32" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class MissingExtensionWarning(Warning):
&#34;&#34;&#34;Missing pyFlarum extension warning.&#34;&#34;&#34;
Expand Down
22 changes: 11 additions & 11 deletions documentation/docs/extensions/absolutely_all.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="title">Module <code>pyflarum.extensions.absolutely_all</code></h1>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L0-L189" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L0-L189" class="git-link">Browse git</a>
</summary>
<pre><code class="python">from typing import Generator, Optional, TYPE_CHECKING
if TYPE_CHECKING:
Expand Down Expand Up @@ -237,7 +237,7 @@ <h2 class="section-title" id="header-classes">Classes</h2>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L169-L190" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L169-L190" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class AbsolutelyAllExtension(ExtensionMixin):
&#34;&#34;&#34;
Expand Down Expand Up @@ -285,7 +285,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L182-L186" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L182-L186" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_dependencies(self):
return {
Expand All @@ -306,7 +306,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L189-L190" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L189-L190" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def mixin(self):
super().mixin(self, FlarumUser, AbsolutelyAllFlarumUserMixin)</code></pre>
Expand Down Expand Up @@ -334,7 +334,7 @@ <h3 id="parameters">Parameters:</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L29-L165" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L29-L165" class="git-link">Browse git</a>
</summary>
<pre><code class="python">class AbsolutelyAllFlarumUserMixin(FlarumUser):
def absolutely_all_users(self, filter: Optional[Filter]=None) -&gt; Generator[&#39;Users&#39;, None, None]:
Expand Down Expand Up @@ -501,7 +501,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L82-L105" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L82-L105" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def absolutely_all_discussions(self, filter: Optional[Filter]=None) -&gt; Generator[&#39;Discussions&#39;, None, None]:
&#34;&#34;&#34;
Expand Down Expand Up @@ -537,7 +537,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L108-L131" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L108-L131" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def absolutely_all_notifications(self, filter: Optional[Filter]=None) -&gt; Generator[&#39;Notifications&#39;, None, None]:
&#34;&#34;&#34;
Expand Down Expand Up @@ -573,7 +573,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L56-L79" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L56-L79" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def absolutely_all_posts(self, filter: Optional[Filter]=None) -&gt; Generator[&#39;Posts&#39;, None, None]:
&#34;&#34;&#34;
Expand Down Expand Up @@ -609,7 +609,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L30-L53" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L30-L53" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def absolutely_all_users(self, filter: Optional[Filter]=None) -&gt; Generator[&#39;Users&#39;, None, None]:
&#34;&#34;&#34;
Expand Down Expand Up @@ -669,7 +669,7 @@ <h3>Methods</h3>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/CWKevo/pyFlarum/blob/f6c78504275be4a46a3b66b6d714be4afff64ea6/pyflarum\extensions\absolutely_all.py#L134-L165" class="git-link">Browse git</a>
<a href="https://github.com/CWKevo/pyFlarum/blob/a65fc09d5ae7d6cb04d63d7abe39aabe0cf03c52/pyflarum\extensions\absolutely_all.py#L134-L165" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def get_all_posts_from_discussion(self, discussion: Discussion, at_once: int=50, force: bool=False) -&gt; Generator[&#39;Posts&#39;, None, None]:
&#34;&#34;&#34;
Expand Down Expand Up @@ -796,7 +796,7 @@ <h3>Methods</h3>
<div class="desc inherited"><p>Obtains all users from <code>/api/users</code>, optionally filtering results by using <code>filter</code>.</p></div>
</dd>
<dt id="pyflarum.extensions.absolutely_all.AbsolutelyAllFlarumUserMixin.mark_all_discussions_as_read"><code class="name flex">
<span>def <span class="ident">mark_all_discussions_as_read</span></span>(<span>self, at: datetime.datetime = datetime.datetime(2021, 8, 28, 12, 44, 32, 430307)) ‑> Literal[True]</span>
<span>def <span class="ident">mark_all_discussions_as_read</span></span>(<span>self, at: datetime.datetime = datetime.datetime(2021, 8, 28, 13, 15, 16, 651943)) ‑> Literal[True]</span>
</code></dt>
<dd>
<p class="inheritance">
Expand Down
Loading

0 comments on commit 0f80ee3

Please sign in to comment.