This commit is contained in:
Sarsoo 2021-06-16 19:46:54 +00:00
parent ae03b4a981
commit 07183d8b00
18 changed files with 42 additions and 67 deletions

Binary file not shown.

Binary file not shown.

View File

@ -268,10 +268,12 @@
</li>
<li><a href="src/music.db.html#music.db.database.get_authed_spotify_network">get_authed_spotify_network() (in module music.db.database)</a>
</li>
<li><a href="src/music.db.html#music.db.part_generator.PartGenerator.get_recursive_parts">get_recursive_parts() (music.db.part_generator.PartGenerator method)</a>
<li><a href="src/music.model.html#music.model.user.User.get_playlist">get_playlist() (music.model.user.User method)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="src/music.db.html#music.db.part_generator.PartGenerator.get_recursive_parts">get_recursive_parts() (music.db.part_generator.PartGenerator method)</a>
</li>
<li><a href="src/music.api.html#music.api.tag.get_tag">get_tag() (in module music.api.tag)</a>
</li>
<li><a href="src/music.api.html#music.api.admin.get_tasks">get_tasks() (in module music.api.admin)</a>

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -200,11 +200,7 @@
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -107,11 +107,7 @@
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -483,11 +483,7 @@
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -237,11 +237,7 @@
<li class="toctree-l2 current"><a class="current reference internal" href="#">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -305,11 +305,7 @@
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -140,11 +140,7 @@
<li class="toctree-l2"><a class="reference internal" href="MusicTools.Settings.html">Settings</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -342,11 +342,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -113,11 +113,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -200,11 +200,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -187,11 +187,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -140,11 +140,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="current reference internal" href="#">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -440,6 +440,31 @@
<code class="sig-name descname"><span class="pre">email</span></code><em class="property"> <span class="pre">=</span> <span class="pre">None</span></em><a class="headerlink" href="#music.model.user.User.email" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py method">
<dt id="music.model.user.User.get_playlist">
<code class="sig-name descname"><span class="pre">get_playlist</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">playlist_name</span></span><span class="p"><span class="pre">:</span></span> <span class="n"><span class="pre">str</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">single_return</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">raise_error</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#music.model.user.User.get_playlist" title="Permalink to this definition"></a></dt>
<dd><p>Get a users playlist by name with smart case sensitivity</p>
<p>Will return an exact match if possible, otherwise will return the first case-insensitive match</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>playlist_name</strong> (<em>str</em>) Subject playlist name</p></li>
<li><p><strong>single_return</strong> (<em>bool</em><em>, </em><em>optional</em>) Return the best match, otherwise return (&lt;exact&gt;, &lt;all matches&gt;). &lt;exact&gt; will be None if not found. Defaults to True.</p></li>
<li><p><strong>raise_error</strong> (<em>bool</em><em>, </em><em>optional</em>) Raise a NameError if nothing found. Defaults to True.</p></li>
</ul>
</dd>
<dt class="field-even">Raises</dt>
<dd class="field-even"><p><strong>NameError</strong> If no matching playlists found</p>
</dd>
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Found users playlists</p>
</dd>
<dt class="field-even">Return type</dt>
<dd class="field-even"><p>Optional[<a class="reference internal" href="#music.model.playlist.Playlist" title="music.model.playlist.Playlist">Playlist</a>] or (&lt;exact&gt;, &lt;all matches&gt;)</p>
</dd>
</dl>
</dd></dl>
<dl class="py attribute">
<dt id="music.model.user.User.last_login">
<code class="sig-name descname"><span class="pre">last_login</span></code><em class="property"> <span class="pre">=</span> <span class="pre">None</span></em><a class="headerlink" href="#music.model.user.User.last_login" title="Permalink to this definition"></a></dt>
@ -536,11 +561,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">

View File

@ -155,11 +155,7 @@
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="MusicTools.html">Js</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="modules.html">All Modules</a><ul class="current">
<li class="toctree-l2 current"><a class="reference internal" href="music.html">Flask Backend</a></li>
<li class="toctree-l2"><a class="reference internal" href="MusicTools.html">React Frontend</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="modules.html">All Modules</a></li>
</ul>
<div class="relations">