MCPcopy Create free account
hub / github.com/Aveiro-Lin/GraphiContact / fix_docstring

Function fix_docstring

src/transformers/utils/check_docstrings.py:1108–1160  ·  view source on GitHub ↗

Fixes the docstring of an object by replacing its arguments documentaiton by the one matched with the signature. Args: obj (`Any`): The object whose dostring we are fixing. old_doc_args (`str`): The current documentation of the parameters of `obj` in

(obj: Any, old_doc_args: str, new_doc_args: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

check_docstringsFunction · 0.85

Calls 5

find_source_fileFunction · 0.85
readMethod · 0.80
splitMethod · 0.80
writeMethod · 0.80
find_indentFunction · 0.70

Tested by

no test coverage detected