File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
policyengine_core/simulations Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ - bump : minor
2
+ changes :
3
+ added :
4
+ - Default input and output periods to Simulation constructor.
Original file line number Diff line number Diff line change @@ -89,7 +89,15 @@ def __init__(
89
89
dataset : Union [str , Type [Dataset ]] = None ,
90
90
reform : Reform = None ,
91
91
trace : bool = False ,
92
+ default_input_period : str = None ,
93
+ default_calculation_period : str = None ,
92
94
):
95
+ self .default_input_period = (
96
+ default_input_period or self .default_input_period
97
+ )
98
+ self .default_calculation_period = (
99
+ default_calculation_period or self .default_calculation_period
100
+ )
93
101
if tax_benefit_system is None :
94
102
if (
95
103
self .default_tax_benefit_system_instance is not None
You can’t perform that action at this time.
0 commit comments