pint.utils.list_parameters

pint.utils.list_parameters(class_: Type | None = None) List[Dict[str, str | List]][source]

List parameters understood by PINT.

Parameters:

class (type, optional) – If provided, produce a list of parameters understood by the Component type; if None, return a list of parameters understood by all Components known to PINT.

Returns:

Each entry is a dictionary describing one parameter. Dictionary values are all strings or lists of strings, and will include at least “name”, “classes”, and “description”.

Return type:

list of dict