trait_get does not differentiate traits from gettable non-traits attributes (e.g. instance methods)
Open
- Dominant language
- Python
- Stars
- 462
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
Not sure if this was the intended behaviour of `trait_get`:
```
>>> class Foo(HasTraits):
>>> mapping1 = Dict(Str(), Str())
>>> f = Foo()
>>> f.trait_get(["add_trait", "mapping1"])
{'add_trait': >,
'mapping1': {}}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.