G-Node / G-Node/nixpy

Container item delete methods

Open
#526 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
29
PR merge metrics
No merged PRs in 30d

Description

Currently there is no documented obvious way to remove existing NIX entities.

When looking through the code, one can see, that there are `__delitem__` methods on the custom container classes, so items can be removed either by accessing these magic functions or by using the `del` keyword, but this is not obvious to the average user.

Is there a reason for not providing a `remove` or `delete` method on `Container` instances?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the custom container classes and their existing __delitem__ methods, which the issue identifies as the current removal entry points. Determine whether a remove or delete method should be added and what its API should guarantee; the issue is complete only when that behavior and its user-facing documentation are decided and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.