diff --git a/CHANGELOG.md b/CHANGELOG.md index e2d7d3f738a4ce5a4ce1fe04784edb409f95c257..c3858a9c521128a4182186911c90e60b71ac45b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## ### Added ### +* `ParentList` and `PropertyList` now have a `filter` function that allows to select a subset of + the contained elements by ID and/or name. ### Changed ### * `_ParentList` is now called `ParentList` * `_Properties` is now called `PropertyList` +* `ParentList.remove` is now case insensitive when a name is used. ### Deprecated ### diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py index 78988bd1bf14c557aad5020b1b7a22962d106a68..4edafede8e58ea2a46cf5aae7a542c5c24a5b2d0 100644 --- a/src/linkahead/common/models.py +++ b/src/linkahead/common/models.py @@ -2598,8 +2598,6 @@ class PropertyList(list): class ParentList(list): - # TODO unclear why this class is private. Isn't it use full for users? - def _get_entity_by_cuid(self, cuid): ''' Get the first entity which has the given cuid.