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

source code

Replaces existing params in existing logs.

Arguments:

  • logs - The log(s) to replace fields for. Looks for the current active log if none
  • api_key - If specified, unify API key to be used. Defaults to the value in the
  • params - The params to update in the log.

Returns:

A message indicating whether the log(s) were successfully updated.