Skip to content

Commit c6f95a1

Browse files
author
Documentation Bot
committed
Automated update of main branch documentation
1 parent 031bf9b commit c6f95a1

File tree

88 files changed

+1182
-1158
lines changed

Some content is hidden

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

88 files changed

+1182
-1158
lines changed

dev/.buildinfo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
2-
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: f1ae295d1e265ff5f3d0fdb0021a4006
2+
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 300ef4164a250f482fae6affeed5bc8d
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

dev/_modules/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ <h1>All modules for which code is available</h1>
119119
<p class="logo"><a href="../index.html">
120120
<img class="logo" src="../_static/img/e-logo.png" alt="Logo">
121121
</a></p>
122-
<div id="searchbox" style="display: none" role="search">
122+
<search id="searchbox" style="display: none" role="search">
123123
<h3 id="searchlabel">Quick search</h3>
124124
<div class="searchformwrapper">
125125
<form class="search" action="../search.html" method="get">
126126
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
127127
<input type="submit" value="Go" />
128128
</form>
129129
</div>
130-
</div>
130+
</search>
131131
<script>document.getElementById('searchbox').style.display = "block"</script>
132132
</div>
133133
</div>
@@ -148,7 +148,7 @@ <h3 id="searchlabel">Quick search</h3>
148148
&copy; Copyright 2018-2024 Enthought, Inc., Austin, TX
149149
</li>
150150
<li>
151-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 7.2.6.
151+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 8.1.3.
152152
</li>
153153
</ul>
154154
</div>

dev/_modules/traits_futures/asyncio/event_loop.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,18 @@ <h1>Source code for traits_futures.asyncio.event_loop</h1><div class="highlight"
9595
<span class="sd">&quot;&quot;&quot;</span>
9696
<span class="sd">IEventLoop implementation wrapping an asyncio event loop.</span>
9797
<span class="sd">&quot;&quot;&quot;</span>
98-
<span class="kn">import</span> <span class="nn">asyncio</span>
99-
<span class="kn">import</span> <span class="nn">warnings</span>
98+
<span class="kn">import</span><span class="w"> </span><span class="nn">asyncio</span>
99+
<span class="kn">import</span><span class="w"> </span><span class="nn">warnings</span>
100100

101-
<span class="kn">from</span> <span class="nn">traits_futures.asyncio.event_loop_helper</span> <span class="kn">import</span> <span class="n">EventLoopHelper</span>
102-
<span class="kn">from</span> <span class="nn">traits_futures.asyncio.pingee</span> <span class="kn">import</span> <span class="n">Pingee</span>
103-
<span class="kn">from</span> <span class="nn">traits_futures.i_event_loop</span> <span class="kn">import</span> <span class="n">IEventLoop</span>
101+
<span class="kn">from</span><span class="w"> </span><span class="nn">traits_futures.asyncio.event_loop_helper</span><span class="w"> </span><span class="kn">import</span> <span class="n">EventLoopHelper</span>
102+
<span class="kn">from</span><span class="w"> </span><span class="nn">traits_futures.asyncio.pingee</span><span class="w"> </span><span class="kn">import</span> <span class="n">Pingee</span>
103+
<span class="kn">from</span><span class="w"> </span><span class="nn">traits_futures.i_event_loop</span><span class="w"> </span><span class="kn">import</span> <span class="n">IEventLoop</span>
104104

105105

106106
<div class="viewcode-block" id="AsyncioEventLoop">
107107
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop.html#traits_futures.asyncio.event_loop.AsyncioEventLoop">[docs]</a>
108108
<span class="nd">@IEventLoop</span><span class="o">.</span><span class="n">register</span>
109-
<span class="k">class</span> <span class="nc">AsyncioEventLoop</span><span class="p">:</span>
109+
<span class="k">class</span><span class="w"> </span><span class="nc">AsyncioEventLoop</span><span class="p">:</span>
110110
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
111111
<span class="sd"> IEventLoop implementation wrapping an asyncio event loop.</span>
112112

@@ -117,7 +117,7 @@ <h1>Source code for traits_futures.asyncio.event_loop</h1><div class="highlight"
117117
<span class="sd"> event loop will be created and used.</span>
118118
<span class="sd"> &quot;&quot;&quot;</span>
119119

120-
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="p">,</span> <span class="n">event_loop</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
120+
<span class="k">def</span><span class="w"> </span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="o">*</span><span class="p">,</span> <span class="n">event_loop</span><span class="o">=</span><span class="kc">None</span><span class="p">):</span>
121121
<span class="n">own_event_loop</span> <span class="o">=</span> <span class="n">event_loop</span> <span class="ow">is</span> <span class="kc">None</span>
122122
<span class="k">if</span> <span class="n">own_event_loop</span><span class="p">:</span>
123123
<span class="n">warnings</span><span class="o">.</span><span class="n">warn</span><span class="p">(</span>
@@ -134,7 +134,7 @@ <h1>Source code for traits_futures.asyncio.event_loop</h1><div class="highlight"
134134

135135
<div class="viewcode-block" id="AsyncioEventLoop.close">
136136
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop.html#traits_futures.asyncio.event_loop.AsyncioEventLoop.close">[docs]</a>
137-
<span class="k">def</span> <span class="nf">close</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
137+
<span class="k">def</span><span class="w"> </span><span class="nf">close</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
138138
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
139139
<span class="sd"> Free any resources allocated by this object.</span>
140140
<span class="sd"> &quot;&quot;&quot;</span>
@@ -144,7 +144,7 @@ <h1>Source code for traits_futures.asyncio.event_loop</h1><div class="highlight"
144144

145145
<div class="viewcode-block" id="AsyncioEventLoop.pingee">
146146
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop.html#traits_futures.asyncio.event_loop.AsyncioEventLoop.pingee">[docs]</a>
147-
<span class="k">def</span> <span class="nf">pingee</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">on_ping</span><span class="p">):</span>
147+
<span class="k">def</span><span class="w"> </span><span class="nf">pingee</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">on_ping</span><span class="p">):</span>
148148
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
149149
<span class="sd"> Return a new pingee.</span>
150150

@@ -164,7 +164,7 @@ <h1>Source code for traits_futures.asyncio.event_loop</h1><div class="highlight"
164164

165165
<div class="viewcode-block" id="AsyncioEventLoop.helper">
166166
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop.html#traits_futures.asyncio.event_loop.AsyncioEventLoop.helper">[docs]</a>
167-
<span class="k">def</span> <span class="nf">helper</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
167+
<span class="k">def</span><span class="w"> </span><span class="nf">helper</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
168168
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
169169
<span class="sd"> Return a new event loop helper.</span>
170170

@@ -185,15 +185,15 @@ <h1>Source code for traits_futures.asyncio.event_loop</h1><div class="highlight"
185185
<p class="logo"><a href="../../../index.html">
186186
<img class="logo" src="../../../_static/img/e-logo.png" alt="Logo">
187187
</a></p>
188-
<div id="searchbox" style="display: none" role="search">
188+
<search id="searchbox" style="display: none" role="search">
189189
<h3 id="searchlabel">Quick search</h3>
190190
<div class="searchformwrapper">
191191
<form class="search" action="../../../search.html" method="get">
192192
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
193193
<input type="submit" value="Go" />
194194
</form>
195195
</div>
196-
</div>
196+
</search>
197197
<script>document.getElementById('searchbox').style.display = "block"</script>
198198
</div>
199199
</div>
@@ -214,7 +214,7 @@ <h3 id="searchlabel">Quick search</h3>
214214
&copy; Copyright 2018-2024 Enthought, Inc., Austin, TX
215215
</li>
216216
<li>
217-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 7.2.6.
217+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 8.1.3.
218218
</li>
219219
</ul>
220220
</div>

dev/_modules/traits_futures/asyncio/event_loop_helper.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
9696
<span class="sd">Test support, providing the ability to run the event loop from tests.</span>
9797
<span class="sd">&quot;&quot;&quot;</span>
9898

99-
<span class="kn">from</span> <span class="nn">traits_futures.i_event_loop_helper</span> <span class="kn">import</span> <span class="n">IEventLoopHelper</span>
99+
<span class="kn">from</span><span class="w"> </span><span class="nn">traits_futures.i_event_loop_helper</span><span class="w"> </span><span class="kn">import</span> <span class="n">IEventLoopHelper</span>
100100

101101

102102
<div class="viewcode-block" id="EventLoopHelper">
103103
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop_helper.html#traits_futures.asyncio.event_loop_helper.EventLoopHelper">[docs]</a>
104104
<span class="nd">@IEventLoopHelper</span><span class="o">.</span><span class="n">register</span>
105-
<span class="k">class</span> <span class="nc">EventLoopHelper</span><span class="p">:</span>
105+
<span class="k">class</span><span class="w"> </span><span class="nc">EventLoopHelper</span><span class="p">:</span>
106106
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
107107
<span class="sd"> Support for running the asyncio event loop in unit tests.</span>
108108

@@ -112,12 +112,12 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
112112
<span class="sd"> The asyncio event loop that this object wraps.</span>
113113
<span class="sd"> &quot;&quot;&quot;</span>
114114

115-
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">event_loop</span><span class="p">):</span>
115+
<span class="k">def</span><span class="w"> </span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">event_loop</span><span class="p">):</span>
116116
<span class="bp">self</span><span class="o">.</span><span class="n">_event_loop</span> <span class="o">=</span> <span class="n">event_loop</span>
117117

118118
<div class="viewcode-block" id="EventLoopHelper.init">
119119
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop_helper.html#traits_futures.asyncio.event_loop_helper.EventLoopHelper.init">[docs]</a>
120-
<span class="k">def</span> <span class="nf">init</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
120+
<span class="k">def</span><span class="w"> </span><span class="nf">init</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
121121
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
122122
<span class="sd"> Prepare the event loop for use.</span>
123123
<span class="sd"> &quot;&quot;&quot;</span>
@@ -126,7 +126,7 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
126126

127127
<div class="viewcode-block" id="EventLoopHelper.dispose">
128128
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop_helper.html#traits_futures.asyncio.event_loop_helper.EventLoopHelper.dispose">[docs]</a>
129-
<span class="k">def</span> <span class="nf">dispose</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
129+
<span class="k">def</span><span class="w"> </span><span class="nf">dispose</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
130130
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
131131
<span class="sd"> Dispose of any resources used by this object.</span>
132132
<span class="sd"> &quot;&quot;&quot;</span>
@@ -135,7 +135,7 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
135135

136136
<div class="viewcode-block" id="EventLoopHelper.setattr_soon">
137137
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop_helper.html#traits_futures.asyncio.event_loop_helper.EventLoopHelper.setattr_soon">[docs]</a>
138-
<span class="k">def</span> <span class="nf">setattr_soon</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">,</span> <span class="n">name</span><span class="p">,</span> <span class="n">value</span><span class="p">):</span>
138+
<span class="k">def</span><span class="w"> </span><span class="nf">setattr_soon</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">obj</span><span class="p">,</span> <span class="n">name</span><span class="p">,</span> <span class="n">value</span><span class="p">):</span>
139139
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
140140
<span class="sd"> Arrange for an attribute to be set once the event loop is running.</span>
141141

@@ -160,7 +160,7 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
160160

161161
<div class="viewcode-block" id="EventLoopHelper.run_until">
162162
<a class="viewcode-back" href="../../../api/traits_futures.asyncio.event_loop_helper.html#traits_futures.asyncio.event_loop_helper.EventLoopHelper.run_until">[docs]</a>
163-
<span class="k">def</span> <span class="nf">run_until</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="nb">object</span><span class="p">,</span> <span class="n">trait</span><span class="p">,</span> <span class="n">condition</span><span class="p">,</span> <span class="n">timeout</span><span class="p">):</span>
163+
<span class="k">def</span><span class="w"> </span><span class="nf">run_until</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="nb">object</span><span class="p">,</span> <span class="n">trait</span><span class="p">,</span> <span class="n">condition</span><span class="p">,</span> <span class="n">timeout</span><span class="p">):</span>
164164
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
165165
<span class="sd"> Run event loop until a given condition occurs, or timeout.</span>
166166

@@ -189,11 +189,11 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
189189

190190
<span class="n">event_loop</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_event_loop</span>
191191

192-
<span class="k">def</span> <span class="nf">stop_on_timeout</span><span class="p">():</span>
192+
<span class="k">def</span><span class="w"> </span><span class="nf">stop_on_timeout</span><span class="p">():</span>
193193
<span class="n">timed_out</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="kc">True</span><span class="p">)</span>
194194
<span class="n">event_loop</span><span class="o">.</span><span class="n">stop</span><span class="p">()</span>
195195

196-
<span class="k">def</span> <span class="nf">stop_if_condition</span><span class="p">(</span><span class="n">event</span><span class="p">):</span>
196+
<span class="k">def</span><span class="w"> </span><span class="nf">stop_if_condition</span><span class="p">(</span><span class="n">event</span><span class="p">):</span>
197197
<span class="k">if</span> <span class="n">condition</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
198198
<span class="n">event_loop</span><span class="o">.</span><span class="n">stop</span><span class="p">()</span>
199199

@@ -229,15 +229,15 @@ <h1>Source code for traits_futures.asyncio.event_loop_helper</h1><div class="hig
229229
<p class="logo"><a href="../../../index.html">
230230
<img class="logo" src="../../../_static/img/e-logo.png" alt="Logo">
231231
</a></p>
232-
<div id="searchbox" style="display: none" role="search">
232+
<search id="searchbox" style="display: none" role="search">
233233
<h3 id="searchlabel">Quick search</h3>
234234
<div class="searchformwrapper">
235235
<form class="search" action="../../../search.html" method="get">
236236
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
237237
<input type="submit" value="Go" />
238238
</form>
239239
</div>
240-
</div>
240+
</search>
241241
<script>document.getElementById('searchbox').style.display = "block"</script>
242242
</div>
243243
</div>
@@ -258,7 +258,7 @@ <h3 id="searchlabel">Quick search</h3>
258258
&copy; Copyright 2018-2024 Enthought, Inc., Austin, TX
259259
</li>
260260
<li>
261-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 7.2.6.
261+
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 8.1.3.
262262
</li>
263263
</ul>
264264
</div>

0 commit comments

Comments
 (0)