__init__.py 210 B

12345678910
  1. from importlib.util import find_spec
  2. has_httpx = find_spec("httpx") is not None
  3. if has_httpx:
  4. from .client import RDF4JClient
  5. __all__ = ["RDF4JClient", "has_httpx"]
  6. else:
  7. __all__ = ["has_httpx"]