All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Change the timeout from session to request level. This allows for more granular control over the timeout for each request.
- More robust handling of starting and stopping threads by lazy generation of a
dedicated thread for the library and making
_AsyncLoopThread
a singleton. This can avoid issues that might arise from using TinyRetriever with other libraries that also use threads such asshapely
.
- Add support for passing single URL/key to both
fetch
anddownload
functions. This makes using the function easier when there's just one query to be made. The result is returned as a single item too.
- Check the validity of the input
request_kwargs
infetch
function based on the acceptable args foraiohttp.ClientSession.request
method.
Initial release.