MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / on_config

Function on_config

scripts/docs/postprocess_nedoc.py:51–58  ·  view source on GitHub ↗
(config, **kwargs)

Source from the content-addressed store, hash-verified

49
50
51def on_config(config, **kwargs):
52 global site_url
53
54 # Normalize API site url
55 site_url = config.get("site_url") or "/"
56 if site_url and site_url[-1] != "/":
57 site_url = f"{site_url}/"
58 site_url = f"{site_url}{PYTHON_API_DIR}"
59
60
61def on_files(files, config, **kwargs):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected