Skip to content

Commit

Permalink
Add deprecation warning to new_scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
Morendil committed Feb 18, 2019
1 parent acfa9b7 commit e59610e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openfisca_core/taxbenefitsystems.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def base_tax_benefit_system(self):
self._base_tax_benefit_system = base_tax_benefit_system = baseline.base_tax_benefit_system
return base_tax_benefit_system

# Deprecated method of constructing simulations, to be phased out in favor of SimulationBuilder
def new_scenario(self):
class ScenarioAdapter(object):
def __init__(self, tax_benefit_system):
Expand Down

0 comments on commit e59610e

Please sign in to comment.