MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / can_do_api_calls

Function can_do_api_calls

etc/scripts/utils_dejacode.py:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def can_do_api_calls():
33 if not DEJACODE_API_KEY and DEJACODE_API_URL:
34 print("DejaCode DEJACODE_API_KEY and DEJACODE_API_URL not configured. Doing nothing")
35 return False
36 else:
37 return True
38
39
40def fetch_dejacode_packages(params):

Callers 2

fetch_dejacode_packagesFunction · 0.85
create_dejacode_packageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected