traits
traits copied to clipboard
Export event types in traits.observation.api.
This PR exports observer event types (TraitChangeEvent
, ListChangeEvent
, DictChangeEvent
, SetChangeEvent
) in traits.observation.api
, so that they can be easily used in type hints in client code.
The event types are already documented. I've updated some tests to ensure that the test suite exercises the import from test.observation.api
.
Closes #1802