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

Unify models #607

Open
wilko77 opened this issue Feb 16, 2021 · 0 comments
Open

Unify models #607

wilko77 opened this issue Feb 16, 2021 · 0 comments

Comments

@wilko77
Copy link
Collaborator

wilko77 commented Feb 16, 2021

Yeah the double up of models modules isn't ideal. As you can tell I have avoided the large task of moving off directly using psycopg2 to using sqlalchemy in the application code.

I think the top level one could mostly be replaced by using the sqlalchemy models and using marshmallow to create the orm objects as per this example. I just don't have the time to take that on.

Originally posted by @hardbyte in #603 (comment)

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