MCPcopy Index your code
hub / github.com/PyTables/PyTables / __init__

Method __init__

tables/table.py:3290–3302  ·  view source on GitHub ↗
(self, table: Table, desc: Description)

Source from the content-addressed store, hash-verified

3288 return self._v__tableFile._get_node(self._v__tablePath)
3289
3290 def __init__(self, table: Table, desc: Description) -> None:
3291 dict_ = self.__dict__
3292 dict_["_v__tableFile"] = table._v_file
3293 dict_["_v__tablePath"] = table._v_pathname
3294 dict_["_v_desc"] = desc
3295 dict_["_v_colnames"] = desc._v_names
3296 dict_["_v_colpathnames"] = table.description._v_pathnames
3297 # Put the column in the local dictionary
3298 for name in desc._v_names:
3299 if name in desc._v_types:
3300 dict_[name] = Column(table, name, desc)
3301 else:
3302 dict_[name] = Cols(table, desc._v_colobjects[name])
3303
3304 def _g_update_table_location(self, table: Table) -> None:
3305 """Update the location information about the associated `table`."""

Callers 1

__init__Method · 0.45

Calls 2

ColumnClass · 0.85
ColsClass · 0.85

Tested by

no test coverage detected