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

Function _write_flow_project

lib/cli/tests/test_flow_commands.py:28–34  ·  view source on GitHub ↗
(project_root: Path)

Source from the content-addressed store, hash-verified

26
27
28def _write_flow_project(project_root: Path) -> None:
29 (project_root / "flow.yaml").write_text(FLOW_YAML, encoding="utf-8")
30 (project_root / "pyproject.toml").write_text(
31 '[project]\nname = "demo"\n\n'
32 '[tool.crewai]\ntype = "flow"\ndefinition = "flow.yaml"\n',
33 encoding="utf-8",
34 )
35
36
37def test_flow_kickoff_runs_configured_declarative_definition(

Calls

no outgoing calls

Tested by

no test coverage detected