ncssar / sartopo_python

Python calls for the caltopo / sartopo API
GNU General Public License v3.0
14 stars 2 forks source link

fix #49 #51

Closed caver456 closed 1 year ago

caver456 commented 1 year ago

add timeout argument to add functions that did not have it; note that a small timeout value will likely cause a timeout exception, but, the add functions actually depend on a return value from the request so a tiny timeout value is probably not going to give the desired effect. A full solution to do a non-blocking request while getting back a usable return value after however long it takes is probably to use futures or some other non-blocking module; and/or, to make the add* functions so that they can work without useful return values.