(plain_source_tree: dict)
| 26 | |
| 27 | |
| 28 | def _strip_functional_requirements(plain_source_tree: dict) -> dict: |
| 29 | stripped = {k: v for k, v in plain_source_tree.items() if k != plain_spec.FUNCTIONAL_REQUIREMENTS} |
| 30 | if "sections" in stripped: |
| 31 | stripped["sections"] = [_strip_functional_requirements(section) for section in stripped["sections"]] |
| 32 | return stripped |
| 33 | |
| 34 | |
| 35 | class PlainModule: |
no outgoing calls
no test coverage detected