You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some notebooks include async processes, which fail when run by our test suite because the next cells does not wait for the async cell to complete.
Potential solutions
Add time.sleep() either at the end of the cell, or in another hidden cell (include {"hide_input": true} into the cell) so it does not appear in the rendered HTML.
Use IPython's await, but this probably requires upstream birdy/owslib modification (ie. use asyncio)
The text was updated successfully, but these errors were encountered:
I know I suggested it on slack, but I'm really not a fan of the time.sleep() approach. It still has the potential to fail (assuming that a process or the network it's run on is too slow) and testing an artificially slowed down notebook is annoying on a performance setup.
Would it be reasonable to open a ticket on owslib and birdy to ask for this functionality? I'm sure @cehbrecht has thoughts on this.
I'm not sure exactly what we want. I suggest this is something we defer to the maintenance phase, and we do some initial exploration before proposing anything to owslib.
Description
Some notebooks include async processes, which fail when run by our test suite because the next cells does not wait for the async cell to complete.
Potential solutions
time.sleep()
either at the end of the cell, or in another hidden cell (include{"hide_input": true}
into the cell) so it does not appear in the rendered HTML.await
, but this probably requires upstreambirdy/owslib
modification (ie. use asyncio)The text was updated successfully, but these errors were encountered: