cognitedata / cognitedata/cognite-sdk-python
`CogniteResourceList` lacks correct dunder method implementations
Open
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 92
- Forks
- 38
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
It inherits from collections.UserList, but with its added features, e.g. get lookup accepting id or external_id, almost all mutating (magic or not) methods breaks some functionality.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing CogniteResourceList with the linked collections.UserList implementation, focusing on the mutating dunder methods and the added get lookup accepting id or external_id. Done means those methods preserve the resource-list functionality instead of breaking it; the issue does not name project files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100