@@ -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 "> """</ 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 "> """</ 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 "> """</ 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 "> """</ span >
122122< span class ="sd "> Prepare the event loop for use.</ span >
123123< span class ="sd "> """</ 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 "> """</ span >
131131< span class ="sd "> Dispose of any resources used by this object.</ span >
132132< span class ="sd "> """</ 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 "> """</ 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 "> """</ 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 © 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