code: def _get_validation_metrics(
      client: _client.Determined, trial_id: int
  ) -> List[Dict[str, Any]]:
      return [
          m.metrics
          for m in client.stream_trials_validation_metrics([trial_id])
      ]
  
file_path: determined/e2e_tests/tests/nightly/test_convergence.py
imports: from typing import Any, Dict, List
  import pytest
  from determined.experimental import client
  from tests import config
  from tests import experiment
label_desc: Use image node_id 1 for calling a global function with example usage: _get_validation_metrics(client, trial_id) and returns: unknown