Skip to content

Commit

Permalink
Add helper method get_experiment_by_name to MLFlowService (mlflow#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 authored and mateiz committed Aug 28, 2018
1 parent 99a3df2 commit 7839d95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mlflow/tracking/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ def get_experiment(self, experiment_id):
""":return: :py:class:`mlflow.entities.Experiment`"""
return self.store.get_experiment(experiment_id)

def get_experiment_by_name(self, name):
""":return: :py:class:`mlflow.entities.Experiment`"""
return self.store.get_experiment_by_name(name)

def create_experiment(self, name, artifact_location=None):
"""Creates an experiment.
Expand Down

0 comments on commit 7839d95

Please sign in to comment.