compass.utilities.io.load_local_docs#
- async load_local_docs(fps, **kwargs)[source]#
Load a document for each input filepath
- Parameters:
fps (
Iterableof path-like) – Iterable of paths representing documents to load.kwargs – Keyword-argument pairs to initialize
elm.web.file_loader.AsyncLocalFileLoader.
- Returns:
list– List of non-empty document instances containing information from the local documents. If a file could not be loaded (i.e. document instance is empty), it will not be included in the output list.