(block)
| 1021 | } |
| 1022 | |
| 1023 | def getLayout(block): |
| 1024 | if not isinstance(block, BlockContext): |
| 1025 | return {"id": block._id} |
| 1026 | children_layout = [] |
| 1027 | for child in block.children: |
| 1028 | children_layout.append(getLayout(child)) |
| 1029 | return {"id": block._id, "children": children_layout} |
| 1030 | |
| 1031 | config["layout"] = getLayout(self) |
| 1032 |
nothing calls this directly
no outgoing calls
no test coverage detected