class_docstr: A variable client for updating variables from a remote source.
class_docstr_tok: ["A","variable","client","for","updating","variables","from","a","remote","source","."]
docstr: Returns the first params for one key, otherwise the whole params list.
docstr_tok: ["Returns","the","first","params","for","one","key",",","otherwise","the","whole","params","list","."]
code: def params(
      self,
  ) -> Union[network_types.Params, List[network_types.Params]]:
      """Returns the first params for one key, otherwise the whole params list."""
      if self._params is None:
          self.update_and_wait()
  
      if len(self._params) == 1:
          return self._params[0]
      else:
          return self._params
  
file_path: acme/acme/jax/variable_utils.py
imports: from concurrent import futures
  import datetime
  import time
  from typing import List, NamedTuple, Optional, Sequence, Union
  from acme import core
  from acme.jax import networks
  import jax
label_desc: Use image node_id 6 for calling the VariableClient obj's underlying member method code with example usage: obj.params() and returns: self, self