Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export TraitChangeEvent in traits.api #1802

Open
mdickinson opened this issue Jun 21, 2024 · 1 comment · May be fixed by #1805
Open

Export TraitChangeEvent in traits.api #1802

mdickinson opened this issue Jun 21, 2024 · 1 comment · May be fixed by #1805

Comments

@mdickinson
Copy link
Member

For those wanting to add type hints to code using Traits, the types of events received by observe handlers should be accessible through traits.api.

@mdickinson
Copy link
Member Author

Possibly we should be exposing this through traits.observation.api as well (or instead).

DictChangeEvent, ListChangeEvent and SetChangeEvent should also be exported.

@mdickinson mdickinson linked a pull request Jun 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant