MCPcopy Index your code
hub / github.com/hugapi/hug / documentation

Function documentation

hug/directives.py:85–89  ·  view source on GitHub ↗

returns documentation for the current api

(default=None, api_version=None, api=None, **kwargs)

Source from the content-addressed store, hash-verified

83
84@_built_in_directive
85def documentation(default=None, api_version=None, api=None, **kwargs):
86 """returns documentation for the current api"""
87 api_version = default or api_version
88 if api:
89 return api.http.documentation(base_url="", api_version=api_version)
90
91
92@_built_in_directive

Callers

nothing calls this directly

Calls 1

documentationMethod · 0.45

Tested by

no test coverage detected