コード例 #1
0
ファイル: template.py プロジェクト: ysjeon7/tfx
def list_templates() -> None:
    click.echo('Available templates:')
    for model in template_handler.list_template():
        click.echo('- {}'.format(model))
コード例 #2
0
ファイル: template_handler_test.py プロジェクト: vibhatha/tfx
 def testList(self):
     templates = template_handler.list_template()
     self.assertNotEqual(templates, [])
     self.assertIn('taxi', templates)