Пример #1
0
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)