MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / DocControlsAwareCrawler

Class DocControlsAwareCrawler

tensorflow/tools/docs/generate_lib.py:283–289  ·  view source on GitHub ↗

A `docs_controls` aware API-crawler.

Source from the content-addressed store, hash-verified

281
282
283class DocControlsAwareCrawler(public_api.PublicAPIVisitor):
284 """A `docs_controls` aware API-crawler."""
285
286 def _is_private(self, path, name, obj):
287 if doc_controls.should_skip(obj):
288 return True
289 return super(DocControlsAwareCrawler, self)._is_private(path, name, obj)
290
291
292def extract(py_modules,

Callers 1

extractFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected