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

Function string_to_classes

tables/utils.py:323–329  ·  view source on GitHub ↗

Return the list of tracked classes matching the input string.

(s: str)

Source from the content-addressed store, hash-verified

321
322
323def string_to_classes(s: str) -> list[str]:
324 """Return the list of tracked classes matching the input string."""
325 if s == "*":
326 c = sorted(tracked_classes)
327 return c
328 else:
329 return s.split()
330
331
332def fetch_logged_instances(classes: str = "*") -> list[tuple[str, int]]:

Callers 4

fetch_logged_instancesFunction · 0.85
count_logged_instancesFunction · 0.85
list_logged_instancesFunction · 0.85
dump_logged_instancesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected