Skip to content

Commit ce7934a

Browse files
committed
remove redundant func
1 parent 4c7d3d7 commit ce7934a

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

qlib/workflow/expm.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def start_exp(
6060
Start an experiment. This method includes first get_or_create an experiment, and then
6161
set it to be active.
6262
63-
Maintaining `_active_exp_uri` is included in start_exp, remaining implementation should be implemented in _end_exp in subclass
63+
Maintaining `_active_exp_uri` is included in start_exp, remaining implementation should be included in _end_exp in subclass
6464
6565
Parameters
6666
----------
@@ -100,7 +100,7 @@ def end_exp(self, recorder_status: Text = Recorder.STATUS_S, **kwargs):
100100
"""
101101
End an active experiment.
102102
103-
Maintaining `_active_exp_uri` is included in end_exp, remaining implementation should be implemented in _end_exp in subclass
103+
Maintaining `_active_exp_uri` is included in end_exp, remaining implementation should be included in _end_exp in subclass
104104
105105
Parameters
106106
----------
@@ -302,16 +302,6 @@ def uri(self):
302302
"""
303303
return self._active_exp_uri or self.default_uri
304304

305-
def set_uri(self, uri: Text):
306-
"""
307-
Set the default tracking URI and the corresponding variables.
308-
309-
Parameters
310-
----------
311-
uri : str
312-
"""
313-
self.default_uri = uri
314-
315305
def list_experiments(self):
316306
"""
317307
List all the existing experiments.
@@ -350,7 +340,6 @@ def _start_exp(
350340
experiment_name: Optional[Text] = None,
351341
recorder_id: Optional[Text] = None,
352342
recorder_name: Optional[Text] = None,
353-
uri: Optional[Text] = None,
354343
resume: bool = False,
355344
):
356345
self._set_client_uri()

0 commit comments

Comments
 (0)