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

Function get_token

lib/cli/tests/test_create_crew.py:861–865  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

859 tokens = iter([json_crew.AuthError("No token found"), "integration-token"])
860
861 def get_token() -> str:
862 token = next(tokens)
863 if isinstance(token, Exception):
864 raise token
865 return token
866
867 monkeypatch.setattr(
868 json_crew,

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected