예제 #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)