lexeme-dev / core

A project to develop novel algorithms and analysis techniques for legal research
4 stars 0 forks source link

Convert network initialization queries to sqlalchemy and associated changes #33

Closed ProbablyFaiz closed 2 years ago

ProbablyFaiz commented 2 years ago

REQUIRES MIGRATION

Note: due to foreign key constraints, you may need to run the migration with the flag data=true as follows: alembic upgrade -x data=true head

This PR's main purpose is to convert the queries that back the network's initialization to use sqlalchemy instead of peewee. It also does a whole bunch of infrastructure work to enable both that and future use of sqlalchemy, including:

Closes #31.

varun-magesh commented 2 years ago

lgtm, just tested + works