enthought / enthought/pyface

Rewrite "*_changed" static trait listeners to use traits observe instead

Open
#899 0 comments 0 reactions 1 assignee Claimed by @aaronayres35 View on GitHub
difficulty: intermediate
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

The static trait change listeners `*_changed` (not `_anytrait_changed`) uses `on_trait_change` internally so we need to replace those methods to use `observe` instead. We need to rename the methods to ensure that traits `on_trait_change` doesn't use them by default - and then decorate them with the `observe` decorator.

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.