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

Rename the changed object as 'object' in all events #1110

Merged
merged 3 commits into from
May 19, 2020

Conversation

kitchoi
Copy link
Contributor

@kitchoi kitchoi commented May 19, 2020

Closes #1084

This PR makes object exist in all 4 event objects in observe.

Checklist

  • Tests
  • Update API reference (docs/source/traits_api_reference): updated docstring
  • Update User manual (docs/source/traits_user_manual)
  • Update type annotation hints in traits-stubs

@kitchoi kitchoi changed the title Name the changed object as 'object' in all events Rename the changed object as 'object' in all events May 19, 2020
@@ -21,9 +21,11 @@ class DictChangeEvent:
"*name* _items" trait. In particular, the attribute ``changed`` is not
defined here.

The interface of this object is provisional as of version 6.1.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we keep this sentence, I will open a separate issue for removing this again when the interface is no longer provisional.

Copy link
Contributor Author

@kitchoi kitchoi May 19, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #1110 #1111

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kitchoi kitchoi merged commit 7ff9d46 into master May 19, 2020
@kitchoi kitchoi deleted the 1084-rename-event-object-attr branch May 19, 2020 15:00
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 this pull request may close these issues.

Unify APIs for TraitChangeEvent and ListChangeEvent?
2 participants