MCPcopy
hub / github.com/pandas-dev/pandas / get_all_api_items

Function get_all_api_items

scripts/validate_docstrings.py:349–354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347
348
349def get_all_api_items():
350 base_path = pathlib.Path(__file__).parent.parent
351 api_doc_fnames = pathlib.Path(base_path, "doc", "source", "reference")
352 for api_doc_fname in api_doc_fnames.glob("*.rst"):
353 with open(api_doc_fname, encoding="utf-8") as f:
354 yield from get_api_items(f)
355
356
357def print_validate_all_results(

Callers 1

validate_allFunction · 0.85

Calls 1

get_api_itemsFunction · 0.85

Tested by

no test coverage detected