From 1cb43ea69b05fa94fcd36a9544c4a5bbc7ecf4de Mon Sep 17 00:00:00 2001 From: xiaowuhu Date: Mon, 5 Jul 2021 14:43:09 +0800 Subject: [PATCH] Update workflow.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remove 空格 before module_path, kwargs, etc, otherwise, yaml parser will report error: ruamel.yaml.scanner.ScannerError: mapping values are not allowed here --- docs/component/workflow.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/component/workflow.rst b/docs/component/workflow.rst index 9c8481862..96ea37a4b 100644 --- a/docs/component/workflow.rst +++ b/docs/component/workflow.rst @@ -90,12 +90,12 @@ Below is a typical config file of ``qrun``. test: [2017-01-01, 2020-08-01] record: - class: SignalRecord - module_path: qlib.workflow.record_temp - kwargs: {} + module_path: qlib.workflow.record_temp + kwargs: {} - class: PortAnaRecord - module_path: qlib.workflow.record_temp - kwargs: - config: *port_analysis_config + module_path: qlib.workflow.record_temp + kwargs: + config: *port_analysis_config After saving the config into `configuration.yaml`, users could start the workflow and test their ideas with a single command below.