1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-10 14:26:56 +08:00

Format with black

This commit is contained in:
Jactus
2020-11-02 11:09:24 +08:00
parent b077d848f4
commit 661b3bffcc
11 changed files with 157 additions and 157 deletions

View File

@@ -10,6 +10,7 @@ class QlibRecorder:
"""
A global system that helps to manage the experiments.
"""
def __init__(self, exp_manager, uri):
self.exp_manager = exp_manager
self.uri = uri
@@ -20,7 +21,7 @@ class QlibRecorder:
try:
yield run
except:
self.end_exp() # end the experiment if something went wrong
self.end_exp() # end the experiment if something went wrong
self.end_exp()
def start_exp(self, experiment_name=None):