pytimber.LoggingDB.get_children_for_hierarchies

LoggingDB.get_children_for_hierarchies(pattern_or_list: Union[str, Iterable[str]], system: str = 'CERN') Dict[str, List[str]]

Get a list of children hierarchy paths for given parent hierarchy paths. Wildcard for the pattern is ‘%’.

Parameters:
  • pattern_or_list – pattern for the selection of parent node paths or a list of parent node paths

  • system – under which hierarchies are defined (default CERN)

Returns:

Dictionary of hierarchy paths with corresponding list of children hierarchy paths