MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / _strip_functional_requirements

Function _strip_functional_requirements

plain_modules.py:28–32  ·  view source on GitHub ↗
(plain_source_tree: dict)

Source from the content-addressed store, hash-verified

26
27
28def _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
35class PlainModule:

Calls

no outgoing calls

Tested by

no test coverage detected