60 秒新知

好文分享 — Handling Database Migrations with Alembic

Python 目前最知名的 ORM library 當屬 SQLAlchemy, 不過 SQLAlchemy 並不負責 database migration 的部分,也就是說資料庫新增/刪除什麼表格、表格新增刪除修改什麼欄位,都得由開發者自行負責。 擁有成熟

Posted on  Apr 8, 2024  by  Amo Chen  ‐ 1 min read

好文分享 — Automating Python with Google Cloud

如果你想知道怎麼把 Python 程式部署到 GCP(Google Cloud Platform) 的 Serverless 服務的話,可以花點時間閱讀 “Automating Python with Google Cloud” 1 文,該文章將 Google Cloud 所提供的 2 種 Serverless 服

Posted on  Apr 7, 2024  by  Amo Chen  ‐ 1 min read

談 Python 3.12 泛型(Generics)改善的部分

泛型(Generics)是指在定義函式、類別時,不具體指定傳入、回傳值等的型別,而在使用的時候才明確指定型別的功能,是 TypeScript, Java 等程式語言的常見用

Posted on  Apr 5, 2024  by  Amo Chen  ‐ 1 min read