2min chapter

Talk Python To Me cover image

#344: SQLAlchemy 2.0

Talk Python To Me

CHAPTER

The Best Way to Make Declarative Cleaner in Python

The current proposal is instead of using uppercase column, it's this new thing called m dot column. One of the flaws with that declarative model you see there is that those column objects are not Python, descriptor compatible at all. So I have ideas to make declarative cleaner and do more of what it's supposed to do without breaking the rules. The thing the class works completely in pylance, everything that's expected both at class level and at the instance level will work out.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode