Skip to content

Commit

Permalink
Deployed c4c35c0 to 0.3 with MkDocs 1.5.3 and mike 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 14, 2023
1 parent 1b6a1b7 commit b102433
Show file tree
Hide file tree
Showing 208 changed files with 4,146 additions and 4,366 deletions.
219 changes: 126 additions & 93 deletions 0.3/api/faststream/broker/fastapi/StreamMessage/index.html

Large diffs are not rendered by default.

148 changes: 74 additions & 74 deletions 0.3/api/faststream/broker/fastapi/StreamRoute/index.html

Large diffs are not rendered by default.

219 changes: 126 additions & 93 deletions 0.3/api/faststream/broker/fastapi/route/StreamMessage/index.html

Large diffs are not rendered by default.

148 changes: 74 additions & 74 deletions 0.3/api/faststream/broker/fastapi/route/StreamRoute/index.html

Large diffs are not rendered by default.

144 changes: 72 additions & 72 deletions 0.3/api/faststream/broker/fastapi/route/get_app/index.html

Large diffs are not rendered by default.

92 changes: 45 additions & 47 deletions 0.3/api/faststream/cli/utils/parser/parse_cli_args/index.html

Large diffs are not rendered by default.

36 changes: 17 additions & 19 deletions 0.3/api/faststream/cli/utils/parser/remove_prefix/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 0.3/api/faststream/index.html

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions 0.3/api/faststream/kafka/message/KafkaMessage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@
<span class=normal><a href=#__codelineno-0-46>46</a></span>
<span class=normal><a href=#__codelineno-0-47>47</a></span>
<span class=normal><a href=#__codelineno-0-48>48</a></span>
<span class=normal><a href=#__codelineno-0-49>49</a></span>
<span class=normal><a href=#__codelineno-0-50>50</a></span>
<span class=normal><a href=#__codelineno-0-51>51</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-0-37 name=__codelineno-0-37></a><span class=k>async</span> <span class=k>def</span> <span class=nf>ack</span><span class=p>(</span><span class=bp>self</span><span class=p>,</span> <span class=o>**</span><span class=n>kwargs</span><span class=p>:</span> <span class=n>Any</span><span class=p>)</span> <span class=o>-&gt;</span> <span class=kc>None</span><span class=p>:</span>
<span class=normal><a href=#__codelineno-0-49>49</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-0-37 name=__codelineno-0-37></a><span class=k>async</span> <span class=k>def</span> <span class=nf>ack</span><span class=p>(</span><span class=bp>self</span><span class=p>,</span> <span class=o>**</span><span class=n>kwargs</span><span class=p>:</span> <span class=n>Any</span><span class=p>)</span> <span class=o>-&gt;</span> <span class=kc>None</span><span class=p>:</span>
<a id=__codelineno-0-38 name=__codelineno-0-38></a><span class=w> </span><span class=sd>&quot;&quot;&quot;</span>
<a id=__codelineno-0-39 name=__codelineno-0-39></a><span class=sd> Acknowledge the Kafka message.</span>
<a id=__codelineno-0-40 name=__codelineno-0-40></a>
Expand All @@ -78,11 +76,9 @@
<a id=__codelineno-0-44 name=__codelineno-0-44></a><span class=sd> Returns:</span>
<a id=__codelineno-0-45 name=__codelineno-0-45></a><span class=sd> None: This method does not return a value.</span>
<a id=__codelineno-0-46 name=__codelineno-0-46></a><span class=sd> &quot;&quot;&quot;</span>
<a id=__codelineno-0-47 name=__codelineno-0-47></a> <span class=nb>print</span><span class=p>(</span><span class=s2>&quot;try to ack&quot;</span><span class=p>)</span>
<a id=__codelineno-0-48 name=__codelineno-0-48></a> <span class=k>if</span> <span class=bp>self</span><span class=o>.</span><span class=n>is_manual</span> <span class=ow>and</span> <span class=ow>not</span> <span class=bp>self</span><span class=o>.</span><span class=n>commited</span><span class=p>:</span>
<a id=__codelineno-0-49 name=__codelineno-0-49></a> <span class=nb>print</span><span class=p>(</span><span class=s2>&quot;acked&quot;</span><span class=p>)</span>
<a id=__codelineno-0-50 name=__codelineno-0-50></a> <span class=k>await</span> <span class=bp>self</span><span class=o>.</span><span class=n>consumer</span><span class=o>.</span><span class=n>commit</span><span class=p>()</span>
<a id=__codelineno-0-51 name=__codelineno-0-51></a> <span class=k>await</span> <span class=nb>super</span><span class=p>()</span><span class=o>.</span><span class=n>ack</span><span class=p>()</span>
<a id=__codelineno-0-47 name=__codelineno-0-47></a> <span class=k>if</span> <span class=bp>self</span><span class=o>.</span><span class=n>is_manual</span> <span class=ow>and</span> <span class=ow>not</span> <span class=bp>self</span><span class=o>.</span><span class=n>commited</span><span class=p>:</span>
<a id=__codelineno-0-48 name=__codelineno-0-48></a> <span class=k>await</span> <span class=bp>self</span><span class=o>.</span><span class=n>consumer</span><span class=o>.</span><span class=n>commit</span><span class=p>()</span>
<a id=__codelineno-0-49 name=__codelineno-0-49></a> <span class=k>await</span> <span class=nb>super</span><span class=p>()</span><span class=o>.</span><span class=n>ack</span><span class=p>()</span>
</code></pre></div></td></tr></table></div> </details> </div> </div> <div class="doc doc-object doc-function"> <h3 id=faststream.kafka.message.KafkaMessage.nack class="doc doc-heading"> <span class="doc doc-object-name doc-function-name">nack</span> <span class="doc doc-labels"> <small class="doc doc-label doc-label-async"><code>async</code></small> </span> <a href=#faststream.kafka.message.KafkaMessage.nack class=headerlink title="Permanent link">#</a></h3> <div class="doc-signature highlight"><pre><span></span><code><a id=__codelineno-0-1 name=__codelineno-0-1 href=#__codelineno-0-1></a><span class=n>nack</span><span class=p>(</span><span class=o>**</span><span class=n>kwargs</span><span class=p>:</span> <span class=n>Any</span><span class=p>)</span> <span class=o>-&gt;</span> <span class=kc>None</span>
</code></pre></div> <div class="doc doc-contents "> <details class=quote> <summary>Source code in <code>faststream/broker/message.py</code></summary> <div class=highlight><table class=highlighttable><tr><td class=linenos><div class=linenodiv><pre><span></span><span class=normal><a href=#__codelineno-0-60>60</a></span>
<span class=normal><a href=#__codelineno-0-61>61</a></span></pre></div></td><td class=code><div><pre><span></span><code><a id=__codelineno-0-60 name=__codelineno-0-60></a><span class=k>async</span> <span class=k>def</span> <span class=nf>nack</span><span class=p>(</span><span class=bp>self</span><span class=p>,</span> <span class=o>**</span><span class=n>kwargs</span><span class=p>:</span> <span class=n>Any</span><span class=p>)</span> <span class=o>-&gt;</span> <span class=kc>None</span><span class=p>:</span>
Expand Down
Loading

0 comments on commit b102433

Please sign in to comment.