示例#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
 def __repr__(self):
     return to_pretty_string(self.path, style=PrintStyles.PPRINT)
示例#5
0
 def __str__(self):
     return to_pretty_string(self.path)