traits icon indicating copy to clipboard operation
traits copied to clipboard

Export event types in traits.observation.api.

Open mdickinson opened this issue 2 weeks ago • 0 comments

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

mdickinson avatar Jun 21 '24 10:06 mdickinson