Skip to content

Commit 38844cf

Browse files
committed
Remove return type
Signed-off-by: Timothy Lee <ctiml@infuseai.io>
1 parent a29a888 commit 38844cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

primehub/models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def get_version(self, model: str, version: str) -> dict:
196196
return results
197197

198198
@cmd(name='list-runs', description='List runs of an experiment', return_required=True)
199-
def list_runs(self, experiment_name: str) -> list:
199+
def list_runs(self, experiment_name: str):
200200
"""
201201
List runs of an experiment
202202
@@ -232,7 +232,7 @@ def list_runs(self, experiment_name: str) -> list:
232232
return results
233233

234234
@cmd(name='list-artifacts', description='List artifacts of a run', return_required=True, optionals=[('path', str)])
235-
def _list_artifacts(self, run_id: str, **kwargs) -> list:
235+
def _list_artifacts(self, run_id: str, **kwargs):
236236
"""
237237
List artifacts of a run
238238
@@ -248,7 +248,7 @@ def _list_artifacts(self, run_id: str, **kwargs) -> list:
248248
path = kwargs.get('path')
249249
return self.list_artifacts(run_id, path)
250250

251-
def list_artifacts(self, run_id: str, path: Optional[str] = None) -> list:
251+
def list_artifacts(self, run_id: str, path: Optional[str] = None):
252252
"""
253253
List artifacts of a run
254254

0 commit comments

Comments
 (0)