src.routers.experiments module#

src.routers.experiments.clone_experiment(item: ClonePackageModel, connector: Connector) Dict[source]#

Clone experiment. (Not implemented yet.)

Parameters:
Returns:

Details of cloned experiment

Return type:

Dict

src.routers.experiments.get_experiment(exp_id: str, connector: Connector, return_plots: bool = True, return_artifacts: bool = True) Dict[source]#

Get experiment by ID.

Parameters:
  • exp_id (str) – Experiment ID

  • connector (Connector) – Connector to use

  • return_plots (bool, optional) – If plots should be returned. Defaults to True.

  • return_artifacts (bool, optional) – If artifacts should be returned. Defaults to True.

Raises:
  • HTTPException – 404 Not Found if experiment does not exist

  • HTTPException – 500 Internal Server Error if error occurs

Returns:

Experiment details

Return type:

Dict