snipt

Ctrl+h for KB shortcuts

Python

Untitled

1
2
3
from core.plugins.utils import healthcheck_bootstrap
def main(at):
    return healthcheck_bootstrap('myplug', at)
https://snipt.net/embed/b8d354a99383c289160f2f4e07e51719/
/raw/b8d354a99383c289160f2f4e07e51719/
b8d354a99383c289160f2f4e07e51719
python
Python
3
2019-06-26T16:26:06
True
False
False
/api/public/snipt/49518/
-1078
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="kn">from</span> <span class="nn">core.plugins.utils</span> <span class="kn">import</span> <span class="n">healthcheck_bootstrap</span> </span><span id="L-2"><a name="L-2"></a><span class="k">def</span> <span class="nf">main</span><span class="p">(</span><span class="n">at</span><span class="p">):</span> </span><span id="L-3"><a name="L-3"></a>    <span class="k">return</span> <span class="n">healthcheck_bootstrap</span><span class="p">(</span><span class="s1">&#39;myplug&#39;</span><span class="p">,</span> <span class="n">at</span><span class="p">)</span> </span></pre></div> </td></tr></table>