예제 #1
0
파일: test_checker.py 프로젝트: yuanl/jina
def test_importchecker(tmpdir):
    args = argparse.Namespace()
    args.cli = 'check'
    tmp_exec_file = os.path.join(str(tmpdir), 'tmp_exec.yml')
    tmp_exec_driver = os.path.join(str(tmpdir), 'tmp_driver.yml')
    args.summary_exec = tmp_exec_file
    args.summary_driver = tmp_exec_driver
    ImportChecker(args)
예제 #2
0
파일: api.py 프로젝트: stjordanis/jina
def check(args: 'Namespace'):
    """
    Check jina config, settings, imports, network etc

    :param args: arguments coming from the CLI.
    """
    from jina.checker import ImportChecker

    ImportChecker(args)
예제 #3
0
파일: api.py 프로젝트: yuanl/jina
def check(args: 'Namespace'):
    """Check jina config, settings, imports, network etc"""
    from jina.checker import ImportChecker
    ImportChecker(args)