enthought / enthought/traitsui

ITreeNodeAdapter should provide the ITreeNode interface

Open
#674 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

The `ITreeNodeAdapter` class should have a `@provides(ITreeNode)` decorator, so that adapter instances satisfy an `isinstance(my_adapter, ITreeNode)` check ~and can therefore be used in a `Supports(ITreeNode)` trait~.

---

EDIT: Correction: the adapters don't need to implement `ITreeNode` in order to be usable in `Supports(ITreeNode)`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.