Merge branch 'develop' into hyperopt-jobs

This commit is contained in:
hroff-1902
2019-04-23 21:34:38 +03:00
committed by GitHub
11 changed files with 239 additions and 90 deletions

View File

@@ -314,6 +314,10 @@ class Configuration(object):
config.update({'hyperopt_jobs': self.args.hyperopt_jobs})
logger.info('Parameter -j/--job-workers detected: %s', config.get('hyperopt_jobs'))
if 'refresh_pairs' in self.args and self.args.refresh_pairs:
config.update({'refresh_pairs': True})
logger.info('Parameter -r/--refresh-pairs-cached detected ...')
return config
def _validate_config_schema(self, conf: Dict[str, Any]) -> Dict[str, Any]: