MCPcopy Create free account
hub / github.com/PyTables/PyTables / _g_width_warning

Method _g_width_warning

tables/group.py:510–518  ·  view source on GitHub ↗

Issue a :exc:`PerformanceWarning` on too many children.

(self)

Source from the content-addressed store, hash-verified

508 return join_path(self._v_pathname, name)
509
510 def _g_width_warning(self) -> None:
511 """Issue a :exc:`PerformanceWarning` on too many children."""
512 warnings.warn(
513 """\
514group ``%s`` is exceeding the recommended maximum number of children (%d); \
515be ready to see PyTables asking for *lots* of memory and possibly slow I/O."""
516 % (self._v_pathname, self._v_max_group_width),
517 PerformanceWarning,
518 )
519
520 def _g_refnode(
521 self, childnode: Node, childname: str, validate: bool = True

Callers 1

_g_refnodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected