Skip to content

Commit

Permalink
Update unreleased documentation (#574)
Browse files Browse the repository at this point in the history
* Update versions.json

* Deployed e004293 to unreleased in versions with MkDocs 1.5.3 and mike 2.0.0

* Sort docs versions

---------

Co-authored-by: GitHub Actions Bot <[email protected]>
  • Loading branch information
github-actions[bot] and GitHub Actions Bot authored Jan 19, 2024
1 parent 787577f commit b661976
Show file tree
Hide file tree
Showing 9 changed files with 2,237 additions and 1,406 deletions.
22 changes: 12 additions & 10 deletions versions/unreleased/api-ref/prefect/cli/server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8910,15 +8910,17 @@ <h2 id="prefect.cli.server.downgrade" class="doc doc-heading">
<span class="normal">255</span>
<span class="normal">256</span>
<span class="normal">257</span>
<span class="normal">258</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@database_app</span><span class="o">.</span><span class="n">command</span><span class="p">()</span>
<span class="normal">258</span>
<span class="normal">259</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@database_app</span><span class="o">.</span><span class="n">command</span><span class="p">()</span>
<span class="k">async</span> <span class="k">def</span> <span class="nf">downgrade</span><span class="p">(</span>
<span class="n">yes</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="n">typer</span><span class="o">.</span><span class="n">Option</span><span class="p">(</span><span class="kc">False</span><span class="p">,</span> <span class="s2">&quot;--yes&quot;</span><span class="p">,</span> <span class="s2">&quot;-y&quot;</span><span class="p">),</span>
<span class="n">revision</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="n">typer</span><span class="o">.</span><span class="n">Option</span><span class="p">(</span>
<span class="s2">&quot;base&quot;</span><span class="p">,</span>
<span class="s2">&quot;-1&quot;</span><span class="p">,</span>
<span class="s2">&quot;-r&quot;</span><span class="p">,</span>
<span class="n">help</span><span class="o">=</span><span class="p">(</span>
<span class="s2">&quot;The revision to pass to `alembic downgrade`. If not provided, runs all&quot;</span>
<span class="s2">&quot; migrations.&quot;</span>
<span class="s2">&quot;The revision to pass to `alembic downgrade`. If not provided, &quot;</span>
<span class="s2">&quot;downgrades to the most recent revision. Use &#39;base&#39; to run all &quot;</span>
<span class="s2">&quot;migrations.&quot;</span>
<span class="p">),</span>
<span class="p">),</span>
<span class="n">dry_run</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="n">typer</span><span class="o">.</span><span class="n">Option</span><span class="p">(</span>
Expand Down Expand Up @@ -9042,8 +9044,7 @@ <h2 id="prefect.cli.server.revision" class="doc doc-heading">

<details class="quote">
<summary>Source code in <code>prefect/cli/server.py</code></summary>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">261</span>
<span class="normal">262</span>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">262</span>
<span class="normal">263</span>
<span class="normal">264</span>
<span class="normal">265</span>
Expand All @@ -9061,7 +9062,8 @@ <h2 id="prefect.cli.server.revision" class="doc doc-heading">
<span class="normal">277</span>
<span class="normal">278</span>
<span class="normal">279</span>
<span class="normal">280</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@database_app</span><span class="o">.</span><span class="n">command</span><span class="p">()</span>
<span class="normal">280</span>
<span class="normal">281</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@database_app</span><span class="o">.</span><span class="n">command</span><span class="p">()</span>
<span class="k">async</span> <span class="k">def</span> <span class="nf">revision</span><span class="p">(</span>
<span class="n">message</span><span class="p">:</span> <span class="nb">str</span> <span class="o">=</span> <span class="n">typer</span><span class="o">.</span><span class="n">Option</span><span class="p">(</span>
<span class="kc">None</span><span class="p">,</span>
Expand Down Expand Up @@ -9108,14 +9110,14 @@ <h2 id="prefect.cli.server.stamp" class="doc doc-heading">

<details class="quote">
<summary>Source code in <code>prefect/cli/server.py</code></summary>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">283</span>
<span class="normal">284</span>
<div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal">284</span>
<span class="normal">285</span>
<span class="normal">286</span>
<span class="normal">287</span>
<span class="normal">288</span>
<span class="normal">289</span>
<span class="normal">290</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@database_app</span><span class="o">.</span><span class="n">command</span><span class="p">()</span>
<span class="normal">290</span>
<span class="normal">291</span></pre></div></td><td class="code"><div><pre><span></span><code><span class="nd">@database_app</span><span class="o">.</span><span class="n">command</span><span class="p">()</span>
<span class="k">async</span> <span class="k">def</span> <span class="nf">stamp</span><span class="p">(</span><span class="n">revision</span><span class="p">:</span> <span class="nb">str</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;Stamp the revision table with the given revision; don&#39;t run any migrations&quot;&quot;&quot;</span>
<span class="kn">from</span> <span class="nn">prefect.server.database.alembic_commands</span> <span class="kn">import</span> <span class="n">alembic_stamp</span>
Expand Down
Loading

0 comments on commit b661976

Please sign in to comment.