Improve CHasTraits._trait API
Open
type: refactor
- Dominant language
- Python
- Stars
- 462
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
The `CHasTraits._trait` method takes a second argument that's an integer between -2 and 2 (inclusive), with various different meanings.
We should consider either:
- Adding an enumeration that encapsulates the possible values for that second argument, or
- (perhaps better) reworking the API to be more user-friendly
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.