From e644a998149483b0c2000f561c89e7dd9e378dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Tue, 8 Oct 2024 11:56:32 +0200 Subject: [PATCH] DOC: add changelog comment --- CHANGELOG.md | 3 +++ src/linkahead/common/models.py | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2d7d3f7..c3858a9c 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 78988bd1..4edafede 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. -- GitLab