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

remove Serializable mixin and related code #575

Closed
wants to merge 3 commits into from

Conversation

aaronayres35
Copy link
Contributor

closes #250

This PR removes the Serializable mixin class and related tests. It also removes any definitions of a _post_load method in various classes as the only place I saw it originally defined / used was Serializable (including a search of enable and traits).

@rahulporuri rahulporuri self-requested a review March 19, 2021 12:26
chaco/grid.py Outdated
@@ -407,8 +407,6 @@ def _orientation_changed(self):


### Persistence ###########################################################
#_pickles = ("orientation", "line_color", "line_style", "line_weight",
# "grid_interval", "mapper")

def __getstate__(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't know if the __getstate__ methods can also be thrown out if the serialization code is being thrown out.

@aaronayres35
Copy link
Contributor Author

closing in favor of #598

@rahulporuri rahulporuri deleted the remove-Serializable-mixin branch April 7, 2021 05:24
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.

Serializable mixin should be removed
2 participants