MCPcopy
hub / github.com/postmanlabs/httpbin / resource

Function resource

httpbin/core.py:845–849  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

843
844
845def resource(filename):
846 path = os.path.join(
847 tmpl_dir,
848 filename)
849 return open(path, 'rb').read()
850
851
852@app.route("/xml")

Callers 4

image_pngFunction · 0.85
image_jpegFunction · 0.85
image_webpFunction · 0.85
image_svgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…