Get the refs for the children of the component. Returns: The refs for the children.
(self)
| 1033 | return format.format_ref(self.id) |
| 1034 | |
| 1035 | def get_refs(self) -> Set[str]: |
| 1036 | """Get the refs for the children of the component. |
| 1037 | |
| 1038 | Returns: |
| 1039 | The refs for the children. |
| 1040 | """ |
| 1041 | refs = set() |
| 1042 | ref = self.get_ref() |
| 1043 | if ref is not None: |
| 1044 | refs.add(ref) |
| 1045 | for child in self.children: |
| 1046 | refs |= child.get_refs() |
| 1047 | return refs |
| 1048 | |
| 1049 | def get_custom_components( |
| 1050 | self, seen: set[str] | None = None |
no test coverage detected