Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to pass an httpx.Client/httpx.AsyncClient instance for query execution #197

Open
lu-pl opened this issue Jan 21, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@lu-pl
Copy link
Contributor

lu-pl commented Jan 21, 2025

It should be possible for users to pass an httpx.Client/httpx.AsyncClient instance to RDFProxy's query execution utility. This allows for significant performance improvements, see Why use a Client?.

Currently, there are two strategies implemented for query execution, rdfproxy.SPARQLWrapperStrategy and rdfproxy.HttpxStrategy. The SPARQLWrapperStrategy will be discontinued shortly and the HttpxStrategy will probably be replaced with an httpx-based SPARQLWrapper class, which will implement an asynchronous query method as well as a synchronous wrapper method. See #49 .
So this issue mainly concerns this new SPARQLWrapper class.

@lu-pl lu-pl added the enhancement New feature or request label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant