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 attrs pkg for orms #6

Open
goodboy opened this issue Sep 25, 2017 · 0 comments
Open

use attrs pkg for orms #6

goodboy opened this issue Sep 25, 2017 · 0 comments

Comments

@goodboy
Copy link
Member

goodboy commented Sep 25, 2017

Issue by tgoodlet
Thursday Sep 22, 2016 at 02:03 GMT
Originally opened as sangoma/sandswitches#2


For the object mapper's parent we have state passed around through the kwargs class attribute which end up getting copied to new instances in a pretty ugly way.

We should instead try using attrs to see if a lot of the boilerplate "state copying" can be simplified when generating new child elements.

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

No branches or pull requests

1 participant