pytimber.SparkLoggingDB.get_variable_unit

SparkLoggingDB.get_variable_unit(pattern: 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