MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / method

Function method

scripts/describe.py:253–266  ·  view source on GitHub ↗

Documents an individual method. Args: name: string, Name of the method. doc: string, The methods docstring.

(name, doc)

Source from the content-addressed store, hash-verified

251
252
253def method(name, doc):
254 """Documents an individual method.
255
256 Args:
257 name: string, Name of the method.
258 doc: string, The methods docstring.
259 """
260 import html
261
262 params = method_params(doc)
263 doc = html.escape(doc)
264 return string.Template(METHOD_TEMPLATE).substitute(
265 name=name, params=params, doc=doc
266 )
267
268
269def breadcrumbs(path, root_discovery):

Callers 1

document_collectionFunction · 0.70

Calls 1

method_paramsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…