MCPcopy Create free account
hub / github.com/HazyResearch/minions / warn_if_missing

Method warn_if_missing

tests/utils/env_checker.py:50–52  ·  view source on GitHub ↗

Warn if key is missing and return True if key exists

(cls, service: str)

Source from the content-addressed store, hash-verified

48
49 @classmethod
50 def warn_if_missing(cls, service: str) -> bool:
51 """Warn if key is missing and return True if key exists"""
52 return cls.check_key(service) is not None
53
54 @classmethod
55 def get_available_services(cls) -> List[str]:

Callers 1

setUpClassMethod · 0.80

Calls 1

check_keyMethod · 0.80

Tested by 1

setUpClassMethod · 0.64