MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / _write

Function _write

lib/cli/tests/test_run_declarative_flow.py:263–266  ·  view source on GitHub ↗
(tmp_path: Path, contents: str)

Source from the content-addressed store, hash-verified

261
262
263def _write(tmp_path: Path, contents: str) -> Path:
264 path = tmp_path / "flow.yaml"
265 path.write_text(contents, encoding="utf-8")
266 return path
267
268
269def test_inputs_flag_satisfies_required_field(

Calls

no outgoing calls

Tested by

no test coverage detected