File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,20 +26,14 @@ def _resolve_sqlite_file_path(sqlite_file_path: Path | None) -> Path:
2626class SqliteCacheRequestsDocumentLoader (DocumentLoader ):
2727 """Remote document loader with persistent SQLite HTTP caching.
2828
29- Composes :class:`RequestsDocumentLoader` with a
30- :class:`requests_cache.CachedSession` backed by SQLite. HTTP cache headers
31- are always honored, supporting the JSON-LD Best Practice to locally cache
32- remote context documents. For other ``CachedSession`` options, use
33- ``RequestsDocumentLoader(session=CachedSession(...))`` directly.
34-
3529 :param secure: require all requests to use HTTPS (default: False).
3630 :param sqlite_file_path: absolute path to the ``.sqlite`` cache file; when
3731 omitted, defaults to the platform user cache directory under ``pyld/``.
3832 """
3933
4034 def __init__ (
4135 self ,
42- secure = False ,
36+ secure : bool = False ,
4337 * ,
4438 sqlite_file_path : Path | None = None ,
4539 ):
You can’t perform that action at this time.
0 commit comments