Skip to content

Commit

Permalink
changing yaml dumping for safe round tripping
Browse files Browse the repository at this point in the history
  • Loading branch information
hhuuggoo committed Dec 4, 2024
1 parent b3252ea commit 125e07a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saturn_client/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def print_resources(resource: Union[List, Dict], output: str = OutputFormat.TABL
elif output == OutputFormat.YAML:
yaml = YAML()
yaml.default_flow_style = False
yaml.width = -1
yaml.width = sys.maxsize
if isinstance(resource, list):
resource = [maybe_sanitize_yaml(x) for x in resource]
yaml.dump_all(resource, sys.stdout)
Expand Down

0 comments on commit 125e07a

Please sign in to comment.