У нас вы можете посмотреть бесплатно I Designed a Python SDK That Relies on… Deep Inheritance?! или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
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 🔖 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