code: def _put_unmanaged_trial(
      client: experimental.Determined,
      exp_id: int,
      external_trial_id: str,
      hparams: Optional[dict] = None,
      distributed: Optional[core.DistributedContext] = None,
  ) -> Tuple[int, str]:
      return _run_on_rank_0_and_broadcast(
          lambda: _put_unmanaged_trial_inner(
              client, exp_id, external_trial_id, hparams
          ),
          distributed,
      )
  
imports: import logging
  from typing import Callable, Optional, Tuple, TypeVar, Union
  import determined
  from determined import core, experimental
  from determined.common import api, util
  from determined.common.api import bindings
label_desc: Use image node_id 11 for calling a global function with example usage: _put_unmanaged_trial(client, exp_id, external_trial_id, hparams, distributed) and returns: _run_on_rank_0_and_broadcast