def main(): global _logger args = _cmd.parseArgsForClassOrScript(train) varsArgs = vars(args) verbosity = varsArgs.pop('verbosity', _util.DEFAULT_VERBOSITY) _logger.info("Passed arguments: '{}'".format(varsArgs)) train(**varsArgs)
def main(): global _logger args = _cmd.parseArgsForClassOrScript(build_cache) varsArgs = vars(args) verbosity = varsArgs.pop('verbosity', _util.DEFAULT_VERBOSITY) _logger = _util.get_logger(__file__, verbosity=verbosity) _logger.info("Passed arguments: '{}'".format(varsArgs)) build_cache(**varsArgs)
def main(args): global _logger args = _cmd.parseArgsForClassOrScript(generate_dataview) varsArgs = vars(args) verbosity = varsArgs.pop('verbosity', _util.DEFAULT_VERBOSITY) _getSharedLogger(verbosity=verbosity).info( "Passed arguments: '{}'".format(varsArgs)) generate_dataview(**varsArgs)