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

Use Slots for configuration helper classes #96

Merged
merged 4 commits into from Nov 6, 2018

Conversation

barrust
Copy link
Collaborator

@barrust barrust commented Nov 3, 2018

To reduce some of the memory overhead of the configuration classes, I added the use of the __slots__ property. Also, I noticed that the classes were not documented with docstrings nor added to the online documentation so those are added also.

Flake8 also started to complain about an invalid \ in a string for schemas (@dlrobertson) so I added the additional \ to make that correct. Tests continued to pass.

Copy link
Contributor

@dlrobertson dlrobertson left a comment

Choose a reason for hiding this comment

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

👍 Looks great!

@barrust barrust merged commit aa894ff into goose3:master Nov 6, 2018
@barrust barrust deleted the barrust-use-slots branch June 3, 2019 23:37
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.

None yet

2 participants