44:50Google Antigravity: Hands on with our new agentic development platform
Google for Developers
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Ever wondered how to build a clean Python SDK without a giant god class? In this video, I’ll show you how I designed an SDK that uses multiple layers of inheritance to keep your code DRY and easy to scale. 👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. 🔥 GitHub Repository: https://git.arjan.codes/2025/sdk. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 0:33 Our Test API 2:30 Building the SDK 4:46 What NOT to Do – Avoid the God Class 6:18 Squarespace Sponsored Section 8:05 Option 1 – Pass the Client (Dependency Injection) 11:33 Option 2 – Global Client (Singleton-style Import) 14:12 Design Issues 15:23 The BaseAPIModel 18:15 The User Model Becomes Simple 18:55 Using the Model 20:40 Pros and Cons of This Pattern 21:37 Want to Go Further? 22:32 Final Thoughts #arjancodes #softwaredesign #python
Published 2025-07-11 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.
44:50Google for Developers
10:02
04:49
42:17
09:22
04:41
27:35Google for Developers
Allow Google Analytics to measure visits. Your history stays in your browser. Privacy details