compass.services.threaded.read_html_file#
- async read_html_file(html_fp, **kwargs)[source]#
Read HTML file in a threaded pool
- Parameters:
html_fp (path-like) – Path to HTML file on disk.
**kwargs – Keyword-value argument pairs to pass to
elm.web.document.HTMLDocument.
- Returns:
elm.web.document.HTMLDocument– HTMLDocument instance with text loaded into page.