Skip to content

Commit 2aac82a

Browse files
committed
deploy: 40aa634
1 parent 0f79506 commit 2aac82a

File tree

154 files changed

+1818
-301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1818
-301
lines changed

main/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 977ec90c3000f52aff8f9fe31c341364
3+
config: 736bfe20995a0112665b1f3311dbc359
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
11.9 KB
Binary file not shown.
811 Bytes
Binary file not shown.
13.9 KB
Binary file not shown.

main/_api.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>API &#8212; FastCS 0.11.4.dev6+ga2a780819 documentation</title>
11+
<title>API &#8212; FastCS 0.11.4.dev9+g40aa634af documentation</title>
1212

1313

1414

@@ -43,7 +43,7 @@
4343
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4444
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4545

46-
<script src="_static/documentation_options.js?v=a2e8f6b6"></script>
46+
<script src="_static/documentation_options.js?v=bba35bb6"></script>
4747
<script src="_static/doctools.js?v=9bcbadda"></script>
4848
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4949
<script src="_static/clipboard.min.js?v=a7894cd8"></script>

main/_api/fastcs.attributes.attr_r.html

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>fastcs.attributes.attr_r &#8212; FastCS 0.11.4.dev6+ga2a780819 documentation</title>
11+
<title>fastcs.attributes.attr_r &#8212; FastCS 0.11.4.dev9+g40aa634af documentation</title>
1212

1313

1414

@@ -43,7 +43,7 @@
4343
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4444
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4545

46-
<script src="../_static/documentation_options.js?v=a2e8f6b6"></script>
46+
<script src="../_static/documentation_options.js?v=bba35bb6"></script>
4747
<script src="../_static/doctools.js?v=9bcbadda"></script>
4848
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4949
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -413,6 +413,7 @@
413413
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io</span></code></a></li>
414414
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io_ref.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io_ref</span></code></a></li>
415415
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.hinted_attribute.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.hinted_attribute</span></code></a></li>
416+
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.util.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.util</span></code></a></li>
416417
</ul>
417418
</details></li>
418419
<li class="toctree-l2 has-children"><a class="reference internal" href="fastcs.connections.html"><code class="docutils literal notranslate"><span class="pre">fastcs.connections</span></code></a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>
@@ -619,6 +620,8 @@
619620
<p>This sets the cached value of the attribute presented in the API. It should
620621
generally only be called from an IO or a controller that is updating the value
621622
from some underlying source.</p>
623+
<p>Any update callbacks will be called with the new value and any update events
624+
with predicates satisfied by the new value will be set.</p>
622625
<p>To request a change to the setpoint of the attribute, use the <code class="docutils literal notranslate"><span class="pre">put</span></code> method,
623626
which will attempt to apply the change to the underlying source.</p>
624627
<dl class="field-list simple">
@@ -651,6 +654,39 @@
651654
<dd><p>Bind self into the registered IO update callback</p>
652655
</dd></dl>
653656

657+
<dl class="py method">
658+
<dt class="sig sig-object py" id="fastcs.attributes.attr_r.AttrR.wait_for_predicate">
659+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">wait_for_predicate</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">predicate</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable" title="(in Python v3.14)"><span class="pre">Callable</span></a><span class="p"><span class="pre">[</span></span><span class="p"><span class="pre">[</span></span><a class="reference internal" href="fastcs.datatypes.datatype.html#fastcs.datatypes.datatype.DType_T" title="fastcs.datatypes.datatype.DType_T"><span class="pre">DType_T</span></a><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">,</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.14)"><span class="pre">bool</span></a><span class="p"><span class="pre">]</span></span></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">timeout</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.14)"><span class="pre">float</span></a></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/fastcs/attributes/attr_r.html#AttrR.wait_for_predicate"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#fastcs.attributes.attr_r.AttrR.wait_for_predicate" title="Link to this definition">#</a></dt>
660+
<dd><p>Wait for the predicate to be satisfied when called with the current value</p>
661+
<dl class="field-list simple">
662+
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
663+
<dd class="field-odd"><ul class="simple">
664+
<li><p><strong>predicate</strong> – The predicate to test - a callable that takes the attribute
665+
value and returns True if the event should be set</p></li>
666+
<li><p><strong>timeout</strong> – The timeout in seconds</p></li>
667+
</ul>
668+
</dd>
669+
</dl>
670+
</dd></dl>
671+
672+
<dl class="py method">
673+
<dt class="sig sig-object py" id="fastcs.attributes.attr_r.AttrR.wait_for_value">
674+
<em class="property"><span class="k"><span class="pre">async</span></span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">wait_for_value</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">target_value</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference internal" href="fastcs.datatypes.datatype.html#fastcs.datatypes.datatype.DType_T" title="fastcs.datatypes.datatype.DType_T"><span class="pre">DType_T</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">timeout</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#float" title="(in Python v3.14)"><span class="pre">float</span></a></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/fastcs/attributes/attr_r.html#AttrR.wait_for_value"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#fastcs.attributes.attr_r.AttrR.wait_for_value" title="Link to this definition">#</a></dt>
675+
<dd><p>Wait for self._value to equal the target value</p>
676+
<dl class="field-list simple">
677+
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
678+
<dd class="field-odd"><ul class="simple">
679+
<li><p><strong>target_value</strong> – The target value to wait for</p></li>
680+
<li><p><strong>timeout</strong> – The timeout in seconds</p></li>
681+
</ul>
682+
</dd>
683+
<dt class="field-even">Raises<span class="colon">:</span></dt>
684+
<dd class="field-even"><p><a class="reference external" href="https://docs.python.org/3/library/exceptions.html#TimeoutError" title="(in Python v3.14)"><strong>TimeoutError</strong></a> – If the attribute does not reach the target value within the
685+
timeout</p>
686+
</dd>
687+
</dl>
688+
</dd></dl>
689+
654690
</dd></dl>
655691

656692
</section>
@@ -711,6 +747,8 @@
711747
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fastcs.attributes.attr_r.AttrR.add_on_update_callback"><code class="docutils literal notranslate"><span class="pre">AttrR.add_on_update_callback()</span></code></a></li>
712748
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fastcs.attributes.attr_r.AttrR.set_update_callback"><code class="docutils literal notranslate"><span class="pre">AttrR.set_update_callback()</span></code></a></li>
713749
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fastcs.attributes.attr_r.AttrR.bind_update_callback"><code class="docutils literal notranslate"><span class="pre">AttrR.bind_update_callback()</span></code></a></li>
750+
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fastcs.attributes.attr_r.AttrR.wait_for_predicate"><code class="docutils literal notranslate"><span class="pre">AttrR.wait_for_predicate()</span></code></a></li>
751+
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#fastcs.attributes.attr_r.AttrR.wait_for_value"><code class="docutils literal notranslate"><span class="pre">AttrR.wait_for_value()</span></code></a></li>
714752
</ul>
715753
</li>
716754
</ul>

main/_api/fastcs.attributes.attr_rw.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>fastcs.attributes.attr_rw &#8212; FastCS 0.11.4.dev6+ga2a780819 documentation</title>
11+
<title>fastcs.attributes.attr_rw &#8212; FastCS 0.11.4.dev9+g40aa634af documentation</title>
1212

1313

1414

@@ -43,7 +43,7 @@
4343
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4444
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4545

46-
<script src="../_static/documentation_options.js?v=a2e8f6b6"></script>
46+
<script src="../_static/documentation_options.js?v=bba35bb6"></script>
4747
<script src="../_static/doctools.js?v=9bcbadda"></script>
4848
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4949
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -413,6 +413,7 @@
413413
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io</span></code></a></li>
414414
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io_ref.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io_ref</span></code></a></li>
415415
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.hinted_attribute.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.hinted_attribute</span></code></a></li>
416+
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.util.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.util</span></code></a></li>
416417
</ul>
417418
</details></li>
418419
<li class="toctree-l2 has-children"><a class="reference internal" href="fastcs.connections.html"><code class="docutils literal notranslate"><span class="pre">fastcs.connections</span></code></a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>

main/_api/fastcs.attributes.attr_w.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>fastcs.attributes.attr_w &#8212; FastCS 0.11.4.dev6+ga2a780819 documentation</title>
11+
<title>fastcs.attributes.attr_w &#8212; FastCS 0.11.4.dev9+g40aa634af documentation</title>
1212

1313

1414

@@ -43,7 +43,7 @@
4343
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4444
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4545

46-
<script src="../_static/documentation_options.js?v=a2e8f6b6"></script>
46+
<script src="../_static/documentation_options.js?v=bba35bb6"></script>
4747
<script src="../_static/doctools.js?v=9bcbadda"></script>
4848
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4949
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -413,6 +413,7 @@
413413
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io</span></code></a></li>
414414
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io_ref.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io_ref</span></code></a></li>
415415
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.hinted_attribute.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.hinted_attribute</span></code></a></li>
416+
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.util.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.util</span></code></a></li>
416417
</ul>
417418
</details></li>
418419
<li class="toctree-l2 has-children"><a class="reference internal" href="fastcs.connections.html"><code class="docutils literal notranslate"><span class="pre">fastcs.connections</span></code></a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>

main/_api/fastcs.attributes.attribute.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>fastcs.attributes.attribute &#8212; FastCS 0.11.4.dev6+ga2a780819 documentation</title>
11+
<title>fastcs.attributes.attribute &#8212; FastCS 0.11.4.dev9+g40aa634af documentation</title>
1212

1313

1414

@@ -43,7 +43,7 @@
4343
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4444
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4545

46-
<script src="../_static/documentation_options.js?v=a2e8f6b6"></script>
46+
<script src="../_static/documentation_options.js?v=bba35bb6"></script>
4747
<script src="../_static/doctools.js?v=9bcbadda"></script>
4848
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4949
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -413,6 +413,7 @@
413413
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io</span></code></a></li>
414414
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io_ref.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io_ref</span></code></a></li>
415415
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.hinted_attribute.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.hinted_attribute</span></code></a></li>
416+
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.util.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.util</span></code></a></li>
416417
</ul>
417418
</details></li>
418419
<li class="toctree-l2 has-children"><a class="reference internal" href="fastcs.connections.html"><code class="docutils literal notranslate"><span class="pre">fastcs.connections</span></code></a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>

main/_api/fastcs.attributes.attribute_io.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>fastcs.attributes.attribute_io &#8212; FastCS 0.11.4.dev6+ga2a780819 documentation</title>
11+
<title>fastcs.attributes.attribute_io &#8212; FastCS 0.11.4.dev9+g40aa634af documentation</title>
1212

1313

1414

@@ -43,7 +43,7 @@
4343
<link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=8878045cc6db502f8baf" />
4444
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=8878045cc6db502f8baf" />
4545

46-
<script src="../_static/documentation_options.js?v=a2e8f6b6"></script>
46+
<script src="../_static/documentation_options.js?v=bba35bb6"></script>
4747
<script src="../_static/doctools.js?v=9bcbadda"></script>
4848
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
4949
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
@@ -413,6 +413,7 @@
413413
<li class="toctree-l3 current active"><a class="current reference internal" href="#"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io</span></code></a></li>
414414
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.attribute_io_ref.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.attribute_io_ref</span></code></a></li>
415415
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.hinted_attribute.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.hinted_attribute</span></code></a></li>
416+
<li class="toctree-l3"><a class="reference internal" href="fastcs.attributes.util.html"><code class="docutils literal notranslate"><span class="pre">fastcs.attributes.util</span></code></a></li>
416417
</ul>
417418
</details></li>
418419
<li class="toctree-l2 has-children"><a class="reference internal" href="fastcs.connections.html"><code class="docutils literal notranslate"><span class="pre">fastcs.connections</span></code></a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul>

0 commit comments

Comments
 (0)