MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / _extract_module_from_all

Method _extract_module_from_all

entity/configs/node/tooling.py:277–281  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

275
276 @staticmethod
277 def _extract_module_from_all(value: str) -> str | None:
278 if not value.endswith(MODULE_ALL_SUFFIX):
279 return None
280 module = value[: -len(MODULE_ALL_SUFFIX)].strip()
281 return module or None
282
283 @staticmethod
284 def _expand_module_all_entry(

Callers 1

from_dictMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected