Tutorial
API References
API References (Loaders)
Schema File Format References
Miscellaneous
The type hint says Dict, because this loader will be handling those situations in the future.
path (Union[str, os.PathLike, Dict[str, str]]) – The path to the plain text file.
options (Dict[str, Any]) –
encoding key specifies the encoding of the plain text.
encoding
TypeError – path is not a path object.
path
Data loaded into a str.
str