def get_groups(
    key: str,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> Dict[str, List[Dict[str, Any]]]:

source code

Returns a list of the different version/values of one entry within a given project based on its key.

Arguments:

  • key - Name of the log entry to do equality matching for.
  • project - Name of the project to get logs from.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

A dict containing the grouped logs, with each key of the dict representing the version of the log key with equal values, and the value being the equal value.