sparqlwrapper
sparqlwrapper copied to clipboard
use aiohttp for async
Use urllib2 led to the code running sequentially and synchronous.
Looks like there's only the one place where an actual http request is made, right?
So one could experiment with subclassing Wrapper
and re-implementing _query
, if there's an easy way to translate between the urllib2
and the aiohttp
request?