def get_all_children(self, parenttype=None):
		ret = []
		for df in self.meta.get("fields", {"fieldtype": "Table"}):
			if parenttype:
				if df.options==parenttype:
					return self.get(df.fieldname)
			value = self.get(df.fieldname)
			if isinstance(value, list):
				ret.extend(value)
		return ret
Returns a tuple of the units and the name.
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.get_all_children--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/gis/models.py/SpatialRefSysMixin.units