Deployed bf85c94 with MkDocs version: 1.6.1

This commit is contained in:
2026-07-31 19:23:16 +00:00
parent 69b6106d98
commit ff93cb6ba1
6 changed files with 50 additions and 8 deletions
+45 -3
View File
@@ -1583,6 +1583,17 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#unshackle.core.tracks.Attachment.download" class="md-nav__link">
<span class="md-ellipsis">
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code>&nbsp;download
</span>
</a>
</li>
<li class="md-nav__item">
@@ -2605,6 +2616,17 @@
</span>
</a>
</li>
<li class="md-nav__item">
<a href="#unshackle.core.tracks.Attachment.download" class="md-nav__link">
<span class="md-ellipsis">
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code>&nbsp;download
</span>
</a>
</li>
<li class="md-nav__item">
@@ -3574,7 +3596,7 @@
<p>Create a new Attachment.</p>
<p>If providing a path, the file must already exist.
If providing a URL, the file will be downloaded to the temp directory.
If providing a URL, download() fetches the file during the download phase.
Either path or url must be provided.</p>
<p>If name is not provided it will use the file name (without extension).
If mime_type is not provided, it will try to guess it.</p>
@@ -3676,7 +3698,7 @@ If mime_type is not provided, it will try to guess it.</p>
<code>session</code>
</td>
<td>
<code><span title="typing.Optional">Optional</span>[<span title="requests.Session">Session</span>]</code>
<code><span title="typing.Optional">Optional</span>[<span title="unshackle.core.tracks.attachment.AnySession">AnySession</span>]</code>
</td>
<td>
<div class="doc-md-description">
@@ -3735,6 +3757,26 @@ If mime_type is not provided, it will try to guess it.</p>
<div class="doc doc-object doc-function">
<h3 id="unshackle.core.tracks.Attachment.download" class="doc doc-heading">
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">download</span>
<a href="#unshackle.core.tracks.Attachment.download" class="headerlink" title="Permanent link">&para;</a></h3>
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">download</span><span class="p">(</span><span class="n">session</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">*</span><span class="p">,</span> <span class="n">no_proxy_download</span><span class="o">=</span><span class="kc">False</span><span class="p">)</span>
</span></code></pre></div>
<div class="doc doc-contents ">
<p>Download a URL-backed attachment to the temp directory.</p>
</div>
</div>
<div class="doc doc-object doc-function">
@@ -3861,7 +3903,7 @@ If mime_type is not provided, it will try to guess it.</p>
<code>session</code>
</td>
<td>
<code><span title="typing.Optional">Optional</span>[<span title="requests.Session">Session</span>]</code>
<code><span title="typing.Optional">Optional</span>[<span title="unshackle.core.tracks.attachment.AnySession">AnySession</span>]</code>
</td>
<td>
<div class="doc-md-description">