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

Function load_crew

lib/cli/tests/test_run_usage.py:1407–1411  ·  view source on GitHub ↗
(path: Path, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

1405 loads: list[Path] = []
1406
1407 def load_crew(path: Path, *args: Any, **kwargs: Any) -> Any:
1408 loads.append(path)
1409 if len(loads) == 1:
1410 raise error
1411 return real_load(path, *args, **kwargs)
1412
1413 monkeypatch.setattr(crew_loader, "load_crew", load_crew)
1414 return error

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected