Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.36 KB

File metadata and controls

47 lines (27 loc) · 1.36 KB

:material-file-download-outline: Document Loaders

Document loaders retrieve remote JSON-LD documents and contexts. PyLD ships class-based loaders for common cases and supports custom subclasses of DocumentLoader.

Default Document Loader

The default document loader is selected at import time. PyLD uses RequestsDocumentLoader if requests is available, falls back to AioHttpDocumentLoader if aiohttp is available, and otherwise installs a dummy loader that raises when invoked.