pytimber.LoggingDB.get_variable_unit

LoggingDB.get_variable_unit(pattern: Union[str, Iterable[str]]) Dict[str, str]

Gets unit(s) for the given variable pattern.

Parameters:

pattern – A pattern or list of names to search for in variable names.

Returns:

A dictionary of variable names and units matching the search pattern.

Return type:

Dict