from_json#

classmethod Experiment.from_json(name: str, spec: dict)[source]#

Generates an Experiment object from JSON.

Parameters:
  • name (str) – Name of Experiment.

  • spec (dict) – JSON configuration of experiment.

Returns:

An Experiment constructed from the provided spec.