class_docstr: Abstract class for clients to interact with a Study.
docstr: Gets a list of suggested Trials.
  
  Args:
    client_id: An ID that identifies the `Tuner` requesting a `Trial`.
      `Tuners` that should run the same trial (for instance, when running a
      multi-worker model) should have the same ID. If multiple
      suggestTrialsRequests have the same tuner_id, the service will return
      the identical suggested trial if the trial is PENDING, and provide a new
      trial if the last suggest trial was completed.
    suggestion_count: The number of suggestions to request.
  
  Returns:
    A list of Trials (represented by JSON dicts). This may be an empty list
    if:
    1. A finite search space has been exhausted.
    2. If max_num_trials = 1000 has been reached.
    3. Or if there are no longer any trials that match a supplied Context.
  
  Raises:
    SuggestionInactiveError: Indicates that a suggestion was requested from an
    inactive study. Note that this is NOT raised when a finite Study runs out
    of suggestions. In such a case, an empty list is returned.
code: def get_suggestions(
      self, client_id: Text, suggestion_count: int
  ) -> List[Dict[Text, Any]]:
      """Gets a list of suggested Trials.
  
      Args:
        client_id: An ID that identifies the `Tuner` requesting a `Trial`.
          `Tuners` that should run the same trial (for instance, when running a
          multi-worker model) should have the same ID. If multiple
          suggestTrialsRequests have the same tuner_id, the service will return
          the identical suggested trial if the trial is PENDING, and provide a new
          trial if the last suggest trial was completed.
        suggestion_count: The number of suggestions to request.
  
      Returns:
        A list of Trials (represented by JSON dicts). This may be an empty list
        if:
        1. A finite search space has been exhausted.
        2. If max_num_trials = 1000 has been reached.
        3. Or if there are no longer any trials that match a supplied Context.
  
      Raises:
        SuggestionInactiveError: Indicates that a suggestion was requested from an
        inactive study. Note that this is NOT raised when a finite Study runs out
        of suggestions. In such a case, an empty list is returned.
      """
  
file_path: cloud/src/python/tensorflow_cloud/tuner/vizier_client_interface.py
imports: import abc
  from typing import Any, Dict, List, Mapping, Optional, Text, Union
label_desc: Use image node_id 1 for calling the VizierClientInterface obj's underlying member method code with example usage: obj.get_suggestions(client_id, suggestion_count) without return types