Skip to content

Commit

Permalink
Add column info to report
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Dec 3, 2024
1 parent 2344885 commit 2ac3184
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dp_wizard/utils/code_generators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def _make_extra_blocks(self):
Template("reports")
.fill_expressions(
OUTPUTS=outputs_expression,
COLUMNS={k: v._asdict() for k, v in self.columns.items()},
)
.fill_values(
CSV_PATH=self.csv_path,
Expand Down
1 change: 1 addition & 0 deletions dp_wizard/utils/code_generators/no-tests/_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def flatten_dict(dictionary, parent_key=""):
"inputs": {
"data": CSV_PATH,
"epsilon": EPSILON,
"columns": COLUMNS,
},
"outputs": OUTPUTS,
}
Expand Down

0 comments on commit 2ac3184

Please sign in to comment.