document

document(path: unicode, comparable: bool) Optional[Node]

Return the document node associated to that file path.

true if the filename has been normalized using maquina::comparable_path, false for a regular path.

Parameters

path (unicode) – The filename of the document to retrieve

Return type

Optional[Node]