From 2a42f0688f7a85ddd24fe4597221f98538d25a5d Mon Sep 17 00:00:00 2001 From: Sagar Vora <16315650+sagarvora@users.noreply.github.com> Date: Tue, 14 Oct 2025 12:41:58 +0530 Subject: [PATCH] chore: update docstring --- frappe/model/document.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frappe/model/document.py b/frappe/model/document.py index 95c9301741..e793e8d8f2 100644 --- a/frappe/model/document.py +++ b/frappe/model/document.py @@ -1116,7 +1116,10 @@ class Document(BaseDocument): frappe.throw(_("Cannot link cancelled document: {0}").format(msg), frappe.CancelledLinkError) def get_all_children(self, parenttype=None, *, include_computed=False) -> list["Document"]: - """Return all children documents from **Table** type fields in a list.""" + """ + Return all child documents from **Table** type fields in a list. + Excludes computed tables by default, unless `include_computed` is set to True. + """ children = [] table_fieldnames = self._table_fieldnames if include_computed else self._non_computed_table_fieldnames