MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / get_datasources

Function get_datasources

tools/metadata_loader/main.py:27–35  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

25
26
27def get_datasources(args):
28 config = get_config()
29
30 url = f'{config["API_URL_BASE"]}/api/datasources'
31 resp = call_get_datasources_api(url)
32
33 print(resp.text)
34
35 return resp.text
36
37
38def call_create_datasource_api(url, payload):

Callers 1

test_get_datasourcesMethod · 0.90

Calls 2

call_get_datasources_apiFunction · 0.85
get_configFunction · 0.70

Tested by 1

test_get_datasourcesMethod · 0.72