class_docstr: Record of the AxClient completion event. This will have information only available
  after the optimization has completed.
class_docstr_tok: ["Record","of","the","AxClient","completion","event",".","This","will","have","information","only","available","after","the","optimization","has","completed","."]
code: def from_ax_client(
      cls, ax_client: AxClient
  ) -> AxClientCompletedRecord:
      return cls(
          experiment_completed_record=ExperimentCompletedRecord.from_experiment(
              experiment=ax_client.experiment
          ),
          best_point_quality=float("-inf"),  # TODO[T147907632]
          model_fit_quality=float("-inf"),  # TODO[T147907632]
          model_std_quality=float("-inf"),
          model_fit_generalization=float(
              "-inf"
          ),  # TODO via cross_validate_by_trial
          model_std_generalization=float("-inf"),
      )
  
file_path: Ax/ax/telemetry/ax_client.py
imports: from __future__ import annotations
  from dataclasses import asdict, dataclass
  from typing import Any, Dict, Optional
  from ax.service.ax_client import AxClient
  from ax.telemetry.common import _get_max_transformed_dimensionality
  from ax.telemetry.experiment import ExperimentCompletedRecord, ExperimentCreatedRecord
  from ax.telemetry.generation_strategy import GenerationStrategyCreatedRecord
label_desc: Use image node_id 1 for calling the AxClientCompletedRecord obj's underlying member method code with example usage: obj.from_ax_client(cls, ax_client) and returns: cls