Skip to content

Commit 824a7ee

Browse files
fix: add label to Report in run_structural_reform endpoint
1 parent 0779594 commit 824a7ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/policyengine_api/api/agent_results.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ def run_structural_reform(
498498

499499
# Create report
500500
report = Report(
501+
label=f"Structural reform: {policy.name}",
501502
baseline_simulation_id=baseline_sim.id,
502503
reform_simulation_id=reform_sim.id,
503504
status=ReportStatus.PENDING,

0 commit comments

Comments
 (0)