architxt.forest#
Functions
| Update a forest with new trees asynchronously. |
| Export a forest of |
| Export a forest of |
| Import a forest of |
| Update a forest with new trees. |
- async architxt.forest.async_update_forest(forest, trees, *, commit=False)[source]#
Update a forest with new trees asynchronously.
- architxt.forest.export_forest_to_jsonl(path, forest)[source]#
Export a forest of
Treeobjects to a JSONL file.
- async architxt.forest.export_forest_to_jsonl_async(path, forest)[source]#
Export a forest of
Treeobjects to a JSONL file.
- architxt.forest.import_forest_from_jsonl(path)[source]#
Import a forest of
Treeobjects from a JSONL file.- Parameters:
path (
Path) – Path to the input JSONL file.- Yield:
Treeobjects.- Return type:
Generator[Tree, None, None]