Skip to content

Commit

Permalink
fix remove default var
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Jan 30, 2024
1 parent a037d80 commit a955c89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dlt/cli/pipeline_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def _display_pending_packages() -> Tuple[Sequence[str], Sequence[str]]:
else:
fmt.echo("Found schema with name %s" % fmt.bold(p.default_schema_name))
format = command_kwargs.get("format")
remove_defaults = command_kwargs.get("remove_defaults")
s = p.default_schema
if format == "json":
schema_str = json.dumps(s.to_dict(remove_defaults=remove_defaults), pretty=True)
Expand Down

0 comments on commit a955c89

Please sign in to comment.