(node: ET.Element, local_name: str)
| 119 | |
| 120 | |
| 121 | def _find_text_child(node: ET.Element, local_name: str) -> str: |
| 122 | for child in list(node): |
| 123 | if strip_namespace(child.tag) != local_name: |
| 124 | continue |
| 125 | text = (child.text or "").strip() |
| 126 | if text: |
| 127 | return text |
| 128 | return "" |
| 129 | |
| 130 | |
| 131 | def _find_first_child(node: ET.Element, local_name: str) -> Optional[ET.Element]: |
no test coverage detected