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

Function a_projects_error_claiming

lib/cli/tests/test_run_usage.py:621–626  ·  view source on GitHub ↗

A project's own error whose class says openai's MODULE defines it, with openai loaded, so the claim is checked against the real package.

(module: str, qualname: str = "AcmeSecretProjectError")

Source from the content-addressed store, hash-verified

619
620
621def a_projects_error_claiming(module: str, qualname: str = "AcmeSecretProjectError") -> Exception:
622 """A project's own error whose class says openai's MODULE defines it, with
623 openai loaded, so the claim is checked against the real package."""
624 import openai # noqa: F401
625
626 return projects_own_error(module, qualname)
627
628
629def an_openai_error() -> Exception:

Callers

nothing calls this directly

Calls 1

projects_own_errorFunction · 0.85

Tested by

no test coverage detected