Sign in to confirm you’re not a bot
This helps protect our community. Learn more
SQLAlchemy & Copilot Pt 1 - Defining Models
196Likes
10,887Views
2023Aug 7
Part one of a three-part series on SQL Alchemy 2.0 & GitHub Copilot with Pamela Fox. 0:00 Intro 0:55 Learning SQLAlchemy 2.0 1:27 Prompting Copilot for SQLAlchemy 2.0 1:59 DeclarativeBase 2:37 Mapping columns to types 4:37 Defining 1-to-1 relationship 7:56 Defining 1-to-many relationship 9:24 Summary Part Two:    • SQLAlchemy & Copilot Pt 2 - SQLite Da...   Description: Join Pamela Fox as she tries out the latest SQLAlchemy 2.0 interface for defining models, including 1-to-1 and 1-to-many relationships. The new way of defining models uses Python type annotations and works great with Python typecheckers. Pamela also shows how to use Copilot to help write the model definitions, and guide it to using the modern SQLAlchemy 2.0 API. More #copilot info: https://github.com/features/copilot

Follow along using the transcript.

Visual Studio Code

755K subscribers