We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As proposed by @ldorner, we should refactor akin to the below:
import policyengine_uk import policyengine_us ... class PolicyEngineCountry: COUNTRY_MODULES = { 'uk': policyengine_uk, 'us': policyengine_us, ... } def __init__(self, country_package_name: str, country_id: str): self.country_package_name = country_package_name self.country_id = country_id self.country_package = self.COUNTRY_MODULES[country_package_name] ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As proposed by @ldorner, we should refactor akin to the below:
The text was updated successfully, but these errors were encountered: