MCPcopy
hub / github.com/authlib/authlib / read_file_path

Function read_file_path

tests/util.py:14–18  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

12
13
14def read_file_path(name):
15 with open(get_file_path(name)) as f:
16 if name.endswith(".json"):
17 return json.load(f)
18 return f.read()
19
20
21def decode_response(data):

Calls 1

get_file_pathFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…