Closed JasonLo closed 3 months ago
@amegahed
As discussed yesterday, I made a backend DB with Turso, the Repo data model is here: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/ospo_stats/db.py#L31
Repo
To push data to the DB, see this dummy function: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/ospo_stats/db.py#L56
More snippets on Turso can be found here: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/notebooks/turso_example.ipynb
Push Gitlab Repo data to DB: https://github.com/UW-Madison-DSI/ospo-stats/commit/fc122efce13994ff7305b66fccb40f4607442e41
@amegahed
As discussed yesterday, I made a backend DB with Turso, the
Repo
data model is here: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/ospo_stats/db.py#L31To push data to the DB, see this dummy function: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/ospo_stats/db.py#L56
More snippets on Turso can be found here: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/notebooks/turso_example.ipynb