コード例 #1
0
ファイル: config.py プロジェクト: zeta1999/zenml
def list_config():
    """Print the current ZenML config to the command line"""
    try:
        repo: Repository = Repository.get_instance()
    except Exception as e:
        error(e)
        return

    click.echo(to_pretty_string(repo.zenml_config))
コード例 #2
0
 def __repr__(self):
     return to_pretty_string(self.to_config(), style=PrintStyles.PPRINT)
コード例 #3
0
 def __str__(self):
     return to_pretty_string(self.to_config())
コード例 #4
0
ファイル: artifact_store.py プロジェクト: zeta1999/zenml
 def __repr__(self):
     return to_pretty_string(self.path, style=PrintStyles.PPRINT)
コード例 #5
0
ファイル: artifact_store.py プロジェクト: zeta1999/zenml
 def __str__(self):
     return to_pretty_string(self.path)