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

Method add_src_dir_argument

tensorflow/tools/docs/generate_lib.py:556–562  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

554 help='Directory to write docs to.')
555
556 def add_src_dir_argument(self):
557 self.argument_parser.add_argument(
558 '--src_dir',
559 type=str,
560 default=tempfile.mkdtemp(),
561 required=False,
562 help='Optional directory of source docs to add api_docs links to')
563
564 def add_base_dir_argument(self, default_base_dir):
565 self.argument_parser.add_argument(

Callers 1

generate.pyFile · 0.80

Calls 2

add_argumentMethod · 0.80
mkdtempMethod · 0.80

Tested by

no test coverage detected