pyld icon indicating copy to clipboard operation
pyld copied to clipboard

Allow passing custom headers and session into requests_document_loader

Open eghuro opened this issue 1 year ago • 0 comments

Sample usage:

jsonld.set_document_loader(
    jsonld.requests_document_loader(
        timeout=Config.TIMEOUT,
        session=session,
        headers={"Accept": accept},
    )
)

eghuro avatar Mar 28 '23 19:03 eghuro