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

source code

Adds new parameters to the logs (defaults to all logs).

Arguments:

  • logs - The logs to add new parameters to. Looks for the current active log
  • api_key - If specified, unify API key to be used. Defaults to the value in the
  • params - The params to add to the logs.

Returns:

A message indicating whether the logs were successfully updated.