Skip to content

Commit 5460378

Browse files
committed
deploy: 8beff4c
1 parent 4c83354 commit 5460378

10 files changed

Lines changed: 181 additions & 6 deletions

_autosummary/obelisk.sync.consumer_test.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<tr class="row-odd"><td><p><a class="reference internal" href="obelisk.sync.consumer_test.test_demo_igent.html#obelisk.sync.consumer_test.test_demo_igent" title="obelisk.sync.consumer_test.test_demo_igent"><code class="xref py py-obj docutils literal notranslate"><span class="pre">test_demo_igent</span></code></a>()</p></td>
4242
<td><p></p></td>
4343
</tr>
44+
<tr class="row-even"><td><p><a class="reference internal" href="obelisk.sync.consumer_test.test_two_instances.html#obelisk.sync.consumer_test.test_two_instances" title="obelisk.sync.consumer_test.test_two_instances"><code class="xref py py-obj docutils literal notranslate"><span class="pre">test_two_instances</span></code></a>()</p></td>
45+
<td><p></p></td>
46+
</tr>
4447
</tbody>
4548
</table>
4649
</section>
@@ -81,6 +84,7 @@ <h1 class="logo"><a href="../index.html">Obelisk-Py</a></h1>
8184
<li class="toctree-l3"><a class="reference internal" href="obelisk.sync.consumer.html">obelisk.sync.consumer</a></li>
8285
<li class="toctree-l3 current"><a class="current reference internal" href="#">obelisk.sync.consumer_test</a><ul>
8386
<li class="toctree-l4"><a class="reference internal" href="obelisk.sync.consumer_test.test_demo_igent.html">obelisk.sync.consumer_test.test_demo_igent</a></li>
87+
<li class="toctree-l4"><a class="reference internal" href="obelisk.sync.consumer_test.test_two_instances.html">obelisk.sync.consumer_test.test_two_instances</a></li>
8488
</ul>
8589
</li>
8690
<li class="toctree-l3"><a class="reference internal" href="obelisk.sync.producer.html">obelisk.sync.producer</a></li>

_autosummary/obelisk.sync.consumer_test.test_demo_igent.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
1515
<link rel="index" title="Index" href="../genindex.html" />
1616
<link rel="search" title="Search" href="../search.html" />
17-
<link rel="next" title="obelisk.sync.producer" href="obelisk.sync.producer.html" />
17+
<link rel="next" title="obelisk.sync.consumer_test.test_two_instances" href="obelisk.sync.consumer_test.test_two_instances.html" />
1818
<link rel="prev" title="obelisk.sync.consumer_test" href="obelisk.sync.consumer_test.html" />
1919

2020
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
@@ -81,6 +81,7 @@ <h1 class="logo"><a href="../index.html">Obelisk-Py</a></h1>
8181
<li class="toctree-l5"><a class="reference internal" href="#obelisk.sync.consumer_test.test_demo_igent"><code class="docutils literal notranslate"><span class="pre">test_demo_igent()</span></code></a></li>
8282
</ul>
8383
</li>
84+
<li class="toctree-l4"><a class="reference internal" href="obelisk.sync.consumer_test.test_two_instances.html">obelisk.sync.consumer_test.test_two_instances</a></li>
8485
</ul>
8586
</li>
8687
<li class="toctree-l3"><a class="reference internal" href="obelisk.sync.producer.html">obelisk.sync.producer</a></li>
@@ -99,7 +100,7 @@ <h3>Related Topics</h3>
99100
<li><a href="obelisk.sync.html">obelisk.sync</a><ul>
100101
<li><a href="obelisk.sync.consumer_test.html">obelisk.sync.consumer_test</a><ul>
101102
<li>Previous: <a href="obelisk.sync.consumer_test.html" title="previous chapter">obelisk.sync.consumer_test</a></li>
102-
<li>Next: <a href="obelisk.sync.producer.html" title="next chapter">obelisk.sync.producer</a></li>
103+
<li>Next: <a href="obelisk.sync.consumer_test.test_two_instances.html" title="next chapter">obelisk.sync.consumer_test.test_two_instances</a></li>
103104
</ul></li>
104105
</ul></li>
105106
</ul></li>
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
<!DOCTYPE html>
2+
3+
<html lang="en" data-content_root="../">
4+
<head>
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
7+
8+
<title>obelisk.sync.consumer_test.test_two_instances &#8212; Obelisk-Py documentation</title>
9+
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=5ecbeea2" />
10+
<link rel="stylesheet" type="text/css" href="../_static/basic.css?v=b08954a9" />
11+
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css?v=27fed22d" />
12+
<script src="../_static/documentation_options.js?v=5929fcd5"></script>
13+
<script src="../_static/doctools.js?v=9bcbadda"></script>
14+
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
15+
<link rel="index" title="Index" href="../genindex.html" />
16+
<link rel="search" title="Search" href="../search.html" />
17+
<link rel="next" title="obelisk.sync.producer" href="obelisk.sync.producer.html" />
18+
<link rel="prev" title="obelisk.sync.consumer_test.test_demo_igent" href="obelisk.sync.consumer_test.test_demo_igent.html" />
19+
20+
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
21+
22+
23+
24+
25+
26+
</head><body>
27+
28+
29+
<div class="document">
30+
<div class="documentwrapper">
31+
<div class="bodywrapper">
32+
33+
34+
<div class="body" role="main">
35+
36+
<section id="obelisk-sync-consumer-test-test-two-instances">
37+
<h1>obelisk.sync.consumer_test.test_two_instances<a class="headerlink" href="#obelisk-sync-consumer-test-test-two-instances" title="Link to this heading"></a></h1>
38+
<dl class="py function">
39+
<dt class="sig sig-object py" id="obelisk.sync.consumer_test.test_two_instances">
40+
<span class="sig-prename descclassname"><span class="pre">obelisk.sync.consumer_test.</span></span><span class="sig-name descname"><span class="pre">test_two_instances</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/obelisk/sync/consumer_test.html#test_two_instances"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#obelisk.sync.consumer_test.test_two_instances" title="Link to this definition"></a></dt>
41+
<dd></dd></dl>
42+
43+
</section>
44+
45+
46+
</div>
47+
48+
</div>
49+
</div>
50+
<div class="sphinxsidebar" role="navigation" aria-label="Main">
51+
<div class="sphinxsidebarwrapper">
52+
<h1 class="logo"><a href="../index.html">Obelisk-Py</a></h1>
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
<search id="searchbox" style="display: none" role="search">
63+
<div class="searchformwrapper">
64+
<form class="search" action="../search.html" method="get">
65+
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" placeholder="Search"/>
66+
<input type="submit" value="Go" />
67+
</form>
68+
</div>
69+
</search>
70+
<script>document.getElementById('searchbox').style.display = "block"</script><h3>Navigation</h3>
71+
<ul class="current">
72+
<li class="toctree-l1 current"><a class="reference internal" href="obelisk.html">obelisk</a><ul class="current">
73+
<li class="toctree-l2"><a class="reference internal" href="obelisk.html#error-handling">Error handling</a></li>
74+
<li class="toctree-l2"><a class="reference internal" href="obelisk.asynchronous.html">obelisk.asynchronous</a></li>
75+
<li class="toctree-l2"><a class="reference internal" href="obelisk.exceptions.html">obelisk.exceptions</a></li>
76+
<li class="toctree-l2"><a class="reference internal" href="obelisk.strategies.html">obelisk.strategies</a></li>
77+
<li class="toctree-l2 current"><a class="reference internal" href="obelisk.sync.html">obelisk.sync</a><ul class="current">
78+
<li class="toctree-l3"><a class="reference internal" href="obelisk.sync.consumer.html">obelisk.sync.consumer</a></li>
79+
<li class="toctree-l3 current"><a class="reference internal" href="obelisk.sync.consumer_test.html">obelisk.sync.consumer_test</a><ul class="current">
80+
<li class="toctree-l4"><a class="reference internal" href="obelisk.sync.consumer_test.test_demo_igent.html">obelisk.sync.consumer_test.test_demo_igent</a></li>
81+
<li class="toctree-l4 current"><a class="current reference internal" href="#">obelisk.sync.consumer_test.test_two_instances</a><ul>
82+
<li class="toctree-l5"><a class="reference internal" href="#obelisk.sync.consumer_test.test_two_instances"><code class="docutils literal notranslate"><span class="pre">test_two_instances()</span></code></a></li>
83+
</ul>
84+
</li>
85+
</ul>
86+
</li>
87+
<li class="toctree-l3"><a class="reference internal" href="obelisk.sync.producer.html">obelisk.sync.producer</a></li>
88+
</ul>
89+
</li>
90+
<li class="toctree-l2"><a class="reference internal" href="obelisk.types.html">obelisk.types</a></li>
91+
</ul>
92+
</li>
93+
</ul>
94+
95+
<div class="relations">
96+
<h3>Related Topics</h3>
97+
<ul>
98+
<li><a href="../index.html">Documentation overview</a><ul>
99+
<li><a href="obelisk.html">obelisk</a><ul>
100+
<li><a href="obelisk.sync.html">obelisk.sync</a><ul>
101+
<li><a href="obelisk.sync.consumer_test.html">obelisk.sync.consumer_test</a><ul>
102+
<li>Previous: <a href="obelisk.sync.consumer_test.test_demo_igent.html" title="previous chapter">obelisk.sync.consumer_test.test_demo_igent</a></li>
103+
<li>Next: <a href="obelisk.sync.producer.html" title="next chapter">obelisk.sync.producer</a></li>
104+
</ul></li>
105+
</ul></li>
106+
</ul></li>
107+
</ul></li>
108+
</ul>
109+
</div>
110+
111+
112+
113+
114+
115+
116+
117+
118+
</div>
119+
</div>
120+
<div class="clearer"></div>
121+
</div>
122+
<div class="footer">
123+
&#169;2025-2025, PreDiCT - IDLab.
124+
125+
|
126+
Powered by <a href="https://www.sphinx-doc.org/">Sphinx 8.2.3</a>
127+
&amp; <a href="https://alabaster.readthedocs.io">Alabaster 1.0.0</a>
128+
129+
|
130+
<a href="../_sources/_autosummary/obelisk.sync.consumer_test.test_two_instances.rst.txt"
131+
rel="nofollow">Page source</a>
132+
</div>
133+
134+
135+
136+
137+
</body>
138+
</html>

_autosummary/obelisk.sync.producer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="index" title="Index" href="../genindex.html" />
1616
<link rel="search" title="Search" href="../search.html" />
1717
<link rel="next" title="obelisk.sync.producer.Producer" href="obelisk.sync.producer.Producer.html" />
18-
<link rel="prev" title="obelisk.sync.consumer_test.test_demo_igent" href="obelisk.sync.consumer_test.test_demo_igent.html" />
18+
<link rel="prev" title="obelisk.sync.consumer_test.test_two_instances" href="obelisk.sync.consumer_test.test_two_instances.html" />
1919

2020
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
2121

@@ -97,7 +97,7 @@ <h3>Related Topics</h3>
9797
<li><a href="../index.html">Documentation overview</a><ul>
9898
<li><a href="obelisk.html">obelisk</a><ul>
9999
<li><a href="obelisk.sync.html">obelisk.sync</a><ul>
100-
<li>Previous: <a href="obelisk.sync.consumer_test.test_demo_igent.html" title="previous chapter">obelisk.sync.consumer_test.test_demo_igent</a></li>
100+
<li>Previous: <a href="obelisk.sync.consumer_test.test_two_instances.html" title="previous chapter">obelisk.sync.consumer_test.test_two_instances</a></li>
101101
<li>Next: <a href="obelisk.sync.producer.Producer.html" title="next chapter">obelisk.sync.producer.Producer</a></li>
102102
</ul></li>
103103
</ul></li>

_modules/obelisk/sync/consumer_test.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ <h1>Source code for obelisk.sync.consumer_test</h1><div class="highlight"><pre>
4747

4848
<span class="k">assert</span> <span class="nb">len</span><span class="p">(</span><span class="n">result</span><span class="o">.</span><span class="n">items</span><span class="p">)</span> <span class="o">==</span> <span class="mi">2</span></div>
4949

50+
51+
<div class="viewcode-block" id="test_two_instances">
52+
<a class="viewcode-back" href="../../../_autosummary/obelisk.sync.consumer_test.test_two_instances.html#obelisk.sync.consumer_test.test_two_instances">[docs]</a>
53+
<span class="k">def</span><span class="w"> </span><span class="nf">test_two_instances</span><span class="p">():</span>
54+
<span class="n">consumer_one</span> <span class="o">=</span> <span class="n">Consumer</span><span class="p">(</span><span class="n">client</span><span class="o">=</span><span class="s2">&quot;67c716e616c11421cfe2faf6&quot;</span><span class="p">,</span> <span class="n">secret</span><span class="o">=</span><span class="s2">&quot;08dafe89-0389-45b4-9832-cc565fb8c2eb&quot;</span><span class="p">)</span>
55+
<span class="n">consumer_two</span> <span class="o">=</span> <span class="n">Consumer</span><span class="p">(</span><span class="n">client</span><span class="o">=</span><span class="s2">&quot;67c716e616c11421cfe2faf6&quot;</span><span class="p">,</span> <span class="n">secret</span><span class="o">=</span><span class="s2">&quot;08dafe89-0389-45b4-9832-cc565fb8c2eb&quot;</span><span class="p">)</span>
56+
<span class="n">result_one</span> <span class="o">=</span> <span class="n">consumer_one</span><span class="o">.</span><span class="n">single_chunk</span><span class="p">(</span>
57+
<span class="n">datasets</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;612f6c39cbceda0ea9753d95&quot;</span><span class="p">],</span>
58+
<span class="n">metrics</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;org.dyamand.types.common.Temperature::number&quot;</span><span class="p">],</span>
59+
<span class="n">from_timestamp</span><span class="o">=</span><span class="mi">1740924034000</span><span class="p">,</span>
60+
<span class="n">to_timestamp</span><span class="o">=</span><span class="mi">1741100614258</span><span class="p">,</span>
61+
<span class="n">limit</span><span class="o">=</span><span class="mi">2</span>
62+
<span class="p">)</span>
63+
<span class="n">result_two</span> <span class="o">=</span> <span class="n">consumer_one</span><span class="o">.</span><span class="n">single_chunk</span><span class="p">(</span>
64+
<span class="n">datasets</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;612f6c39cbceda0ea9753d95&quot;</span><span class="p">],</span>
65+
<span class="n">metrics</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;org.dyamand.types.common.Temperature::number&quot;</span><span class="p">],</span>
66+
<span class="n">from_timestamp</span><span class="o">=</span><span class="mi">1740924034000</span><span class="p">,</span>
67+
<span class="n">to_timestamp</span><span class="o">=</span><span class="mi">1741100614258</span><span class="p">,</span>
68+
<span class="n">limit</span><span class="o">=</span><span class="mi">2</span>
69+
<span class="p">)</span>
70+
<span class="k">assert</span> <span class="nb">len</span><span class="p">(</span><span class="n">result_one</span><span class="o">.</span><span class="n">items</span><span class="p">)</span> <span class="o">==</span> <span class="mi">2</span>
71+
<span class="k">assert</span> <span class="nb">len</span><span class="p">(</span><span class="n">result_two</span><span class="o">.</span><span class="n">items</span><span class="p">)</span> <span class="o">==</span> <span class="mi">2</span></div>
72+
5073
</pre></div>
5174

5275
</div>

_sources/_autosummary/obelisk.sync.consumer_test.rst.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
obelisk.sync.consumer\_test
1+
obelisk.sync.consumer\_test
22
===========================
33

44
.. automodule:: obelisk.sync.consumer_test
@@ -10,4 +10,5 @@ obelisk.sync.consumer\_test
1010
:toctree:
1111

1212
test_demo_igent
13+
test_two_instances
1314

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
obelisk.sync.consumer\_test.test\_two\_instances
2+
================================================
3+
4+
.. currentmodule:: obelisk.sync.consumer_test
5+
6+
.. autofunction:: test_two_instances

genindex.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ <h2 id="T">T</h2>
519519
<li><a href="_autosummary/obelisk.sync.consumer_test.test_demo_igent.html#obelisk.sync.consumer_test.test_demo_igent">(in module obelisk.sync.consumer_test)</a>
520520
</li>
521521
</ul></li>
522+
<li><a href="_autosummary/obelisk.sync.consumer_test.test_two_instances.html#obelisk.sync.consumer_test.test_two_instances">test_two_instances() (in module obelisk.sync.consumer_test)</a>
523+
</li>
522524
<li><a href="_autosummary/obelisk.types.TimestampPrecision.html#obelisk.types.TimestampPrecision">TimestampPrecision (class in obelisk.types)</a>
523525
</li>
524526
<li><a href="_autosummary/obelisk.asynchronous.client.Client.html#obelisk.asynchronous.client.Client.token">token (obelisk.asynchronous.client.Client attribute)</a>

objects.inv

31 Bytes
Binary file not shown.

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)