Automatically generating SQLAlchemy models - #22

Published: 15 February 2022
on channel: Lambert Labs
8,690
91

Welcome to Learning at Lambert Labs session #22. This week, Millie discusses issues with the Object Relational Mapper framework SQLAlchemy, and how these problems can be resolved using sqlacodegen and Alembic.

In today's Learning session:
Why the traditional ORM/DB model can cause problems
Using Alembic to automatically generate migrations based on models in the application code
Using sqlacodegen to automatically generate models based on the database schema

Video timestamps:
0:00 Introduction
0:33 What's the problem?
02:08 Alembic
03:40 sqlacodegen
07:42 Example usage of sqlacodegen
12:24 Integration into build process
17:50 Disadvantages of sqlacodegen

Read about the work we do with Python here: https://lambertlabs.com/technologies/...
Learn more about some of our client work here: https://lambertlabs.com/portfolio/

🔊 Subscribe to our channel for weekly learning sessions!    / @lambertlabs  

🔗 Lambert Labs Links 🔗 :
🌎 Website: https://lambertlabs.com/
📱 Twitter:   / lambertlabs  
📝 LinkedIn:   / lambertlabs  
📂 GitHub: https://github.com/lambertlabs/

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
Python
SQLAlchemy
Software Engineering


On this page of the site you can watch the video online Automatically generating SQLAlchemy models - #22 with a duration of hours minute second in good quality, which was uploaded by the user Lambert Labs 15 February 2022, share the link with friends and acquaintances, this video has already been watched 8,690 times on youtube and it was liked by 91 viewers. Enjoy your viewing!