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

Method _add_other_member

tensorflow/tools/docs/parser.py:1184–1194  ·  view source on GitHub ↗

Adds an `_OtherMemberInfo` entry to the `other_members` list. Args: short_name: The class' short name. full_name: The class' fully qualified name. obj: The class object itself doc: The class' parsed docstring, a `_DocstringInfo`

(self, short_name, full_name, obj, doc)

Source from the content-addressed store, hash-verified

1182 return self._other_members
1183
1184 def _add_other_member(self, short_name, full_name, obj, doc):
1185 """Adds an `_OtherMemberInfo` entry to the `other_members` list.
1186
1187 Args:
1188 short_name: The class' short name.
1189 full_name: The class' fully qualified name.
1190 obj: The class object itself
1191 doc: The class' parsed docstring, a `_DocstringInfo`
1192 """
1193 other_member_info = _OtherMemberInfo(short_name, full_name, obj, doc)
1194 self._other_members.append(other_member_info)
1195
1196 def collect_docs_for_class(self, py_class, parser_config):
1197 """Collects information necessary specifically for a class's doc page.

Callers 1

Calls 2

_OtherMemberInfoClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected