SQLAlchemy Copilot Pt 1 Defining Models (Дата оригинальной публикации
Part one of a threepart 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 1to1 relationship 7:56 Defining 1tomany relationship 9:24 Summary Part Two: Description: Join Pamela Fox as she tries out the latest SQLAlchemy 2. 0 interface for defining models, including 1to1 and 1tomany 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:
|
|