def rename_log_params(
    *,
    logs: Optional[Union[int, unify.Log, List[Union[int, unify.Log]]]] = None,
    api_key: Optional[str] = None,
    **names,
) -> Dict[str, str]:

source code

Renames the set of log params.

Arguments:

  • logs - The log(s) to update the field names for. Looks for the current active log
  • api_key - If specified, unify API key to be used. Defaults to the value in the
  • names - The field names to update in the log, with keys as old names and values

Returns:

A message indicating whether the log field names were successfully updated.