class_docstr: Command channel used by trials to communicate with training service.
  
  One side of this channel is trial, who asks for parameters and reports metrics.
  The other side of this channel is training service, which launches and manages trial jobs.
  
  Due to the complexity of training environments,
  :class:`TrialCommandChannel` might have multiple implementations.
  The underlying implementation of :class:`TrialCommandChannel` usually
  relies on network communication, shared file system, etc,
  which is covered in :class:`~nni.runtime.command_channel.base.CommandChannel`.
class_docstr_tok: ["Command","channel","used","by","trials","to","communicate","with","training","service",".","One","side","of","this","channel","is","trial",",","who","asks","for","parameters","and","reports","metrics",".","The","other","side","of","this","channel","is","training","service",",","which","launches","and","manages","trial","jobs",".","Due","to","the","complexity","of","training","environments",",",":","class",":","`","TrialCommandChannel","`","might","have","multiple","implementations",".","The","underlying","implementation","of",":","class",":","`","TrialCommandChannel","`","usually","relies","on","network","communication",",","shared","file","system",",","etc",",","which","is","covered","in",":","class",":","`","~nni.runtime.command_channel.base.CommandChannel","`","."]
docstr: Get the next parameter record from NNI manager.
  
  Returns
  -------
  :class:`~nni.typehint.ParameterRecord`
      The next parameter record.
      Could be ``None`` if no more parameter is available.
docstr_tok: ["Get","the","next","parameter","record","from","NNI","manager",".","Returns","--","--","--","-",":","class",":","`","~nni.typehint.ParameterRecord","`","The","next","parameter","record",".","Could","be","``","None","``","if","no","more","parameter","is","available","."]
code: def receive_parameter(self) -> ParameterRecord | None:
      """Get the next parameter record from NNI manager.
  
      Returns
      -------
      :class:`~nni.typehint.ParameterRecord`
          The next parameter record.
          Could be ``None`` if no more parameter is available.
      """
      raise NotImplementedError()
  
imports: from __future__ import annotations
  from typing_extensions import Literal
  from nni.typehint import ParameterRecord, TrialMetric
label_desc: Use image node_id 1 for calling the TrialCommandChannel obj's underlying member method code with example usage: obj.receive_parameter() without return types