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

Method _add_class

tensorflow/tools/docs/parser.py:1165–1177  ·  view source on GitHub ↗

Adds a `_LinkInfo` for a nested class to `classes` 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` url: A url pointing to where the nested c

(self, short_name, full_name, obj, doc, url)

Source from the content-addressed store, hash-verified

1163 return meta_data.build_html()
1164
1165 def _add_class(self, short_name, full_name, obj, doc, url):
1166 """Adds a `_LinkInfo` for a nested class to `classes` list.
1167
1168 Args:
1169 short_name: The class' short name.
1170 full_name: The class' fully qualified name.
1171 obj: The class object itself
1172 doc: The class' parsed docstring, a `_DocstringInfo`
1173 url: A url pointing to where the nested class is documented.
1174 """
1175 page_info = _LinkInfo(short_name, full_name, obj, doc, url)
1176
1177 self._classes.append(page_info)
1178
1179 @property
1180 def other_members(self):

Callers 1

Calls 2

_LinkInfoClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected