MCPcopy Index your code
hub / github.com/data-apis/python-record-api / docstring

Method docstring

record_api/apis.py:432–435  ·  view source on GitHub ↗
(self, indent: int)

Source from the content-addressed store, hash-verified

430 yield cst.Expr(cst.Ellipsis())
431
432 def docstring(self, indent: int) -> cst.BaseExpression:
433 i = " " * ((indent + 1) * 4)
434 inner = f"\n{i}".join(metadata_lines(self.metadata))
435 return cst.SimpleString(f'"""\n{i}{inner}\n{i}"""')
436
437 def parameters(
438 self, type: typing.Literal["function", "classmethod", "method"]

Callers 1

bodyMethod · 0.95

Calls 2

metadata_linesFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected