Skip to content

Commit

Permalink
remove redundant func
Browse files Browse the repository at this point in the history
  • Loading branch information
you-n-g committed Nov 17, 2022
1 parent 4c7d3d7 commit b6c119d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions qlib/workflow/expm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def start_exp(
Start an experiment. This method includes first get_or_create an experiment, and then
set it to be active.
Maintaining `_active_exp_uri` is included in start_exp, remaining implementation should be implemented in _end_exp in subclass
Maintaining `_active_exp_uri` is included in start_exp, remaining implementation should be included in _end_exp in subclass
Parameters
----------
Expand Down Expand Up @@ -100,7 +100,7 @@ def end_exp(self, recorder_status: Text = Recorder.STATUS_S, **kwargs):
"""
End an active experiment.
Maintaining `_active_exp_uri` is included in end_exp, remaining implementation should be implemented in _end_exp in subclass
Maintaining `_active_exp_uri` is included in end_exp, remaining implementation should be included in _end_exp in subclass
Parameters
----------
Expand Down Expand Up @@ -302,16 +302,6 @@ def uri(self):
"""
return self._active_exp_uri or self.default_uri

def set_uri(self, uri: Text):
"""
Set the default tracking URI and the corresponding variables.
Parameters
----------
uri : str
"""
self.default_uri = uri

def list_experiments(self):
"""
List all the existing experiments.
Expand Down

0 comments on commit b6c119d

Please sign in to comment.