Event JSON
{
"id": "21e72926929f979cd32e582dab5e9d5b116b23c2ac020cd25f682667a4505d3a",
"pubkey": "2199849342dc2e2c7158392d4902a03162f9e2f70cf0f674cd1777f4f43133ed",
"created_at": 1734593977,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@pythonbynight/113678350925172318",
"web"
],
[
"t",
"orm"
],
[
"t",
"alembic"
],
[
"t",
"python"
],
[
"proxy",
"https://fosstodon.org/users/pythonbynight/statuses/113678350925172318",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/pythonbynight/statuses/113678350925172318",
"pink.momostr"
],
[
"-"
]
],
"content": "I've been working on a Typer CLI app with a database backend. Each time I need to set up Alembic (for migrations), I need to go back to the docs and learn all the things (again)... \n\nI wanted to see if I could incorporate alembic commands into my own CLI app. At the least, it would let me inject some custom logic and/or command names.\n\nWasn't quite sure where to start, but eventually I got there... \n\nSo I decided to write about it.\n\nhttps://pythonbynight.com/blog/alembic-migrations-existing-typer-cli\n\n#Python #Alembic #ORM",
"sig": "9272000c0455710276bfdd831cf316468e27a690b1ee427904382c24a219213ab5ae8e7b29afc927779038359f00e315d6c8ad6fd90bed9221bc23062a686feb"
}