-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
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
BREAKING CHANGE: cleanup entities #1286
base: master
Are you sure you want to change the base?
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bec66af - Browse repository at this point
Copy the full SHA bec66afView commit details -
BREAKING CHANGE: remove CoreEntity.check_role_validity
The method in itself had no relation to `entities` (it was a static method, so no depending neither on an entity class nor an instance). It could have been kept as a `populations` helper, where it was exclusively used. Nonetheless, `check_role_validity` had the peculiar behaviour of not failing but when the value of `role` is not `None`, that granted it in my opinion the right to be removed so as to avoid confusion.
Configuration menu - View commit details
-
Copy full SHA for 85e939d - Browse repository at this point
Copy the full SHA 85e939dView commit details -
BREAKING CHANGE: remove
class_override
arg from `entities.build_ent……ity` That argument actually did nothing, and linters have been complaining about this argument for almost 10 years now. It is only being marked as a breaking change for respect to the semantic versioning protocol.
Configuration menu - View commit details
-
Copy full SHA for 2fe9d10 - Browse repository at this point
Copy the full SHA 2fe9d10View commit details -
BREAKING CHANGE: remove
CoreEntity.set_tax_benefit_system
The feature is now provided by simple variable assignment: ```python entity.tax_benefit_system = tax_benefit_system ``` Likewise, `entity.tax_benefit_system` becomes part of the public API (which implicitly it was as the private marker was being violated).
Configuration menu - View commit details
-
Copy full SHA for 6af247e - Browse repository at this point
Copy the full SHA 6af247eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3cd58d - Browse repository at this point
Copy the full SHA a3cd58dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f04683 - Browse repository at this point
Copy the full SHA 8f04683View commit details -
BREAKING CHANGE: remove CoreEntity.check_variable_defined_for_entity
The feature is still provided by `CoreEntity.get_variable` when passed the optional positional or keyword argument `check_existence`. In fact, the removed method was duplicating and already existing behaviour.
Configuration menu - View commit details
-
Copy full SHA for a0b026f - Browse repository at this point
Copy the full SHA a0b026fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d5cfc7 - Browse repository at this point
Copy the full SHA 9d5cfc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1011e8b - Browse repository at this point
Copy the full SHA 1011e8bView commit details