decodingml / llm-twin-course

🤖 𝗟𝗲𝗮𝗿𝗻 for 𝗳𝗿𝗲𝗲 how to 𝗯𝘂𝗶𝗹𝗱 an end-to-end 𝗽𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻-𝗿𝗲𝗮𝗱𝘆 𝗟𝗟𝗠 & 𝗥𝗔𝗚 𝘀𝘆𝘀𝘁𝗲𝗺 using 𝗟𝗟𝗠𝗢𝗽𝘀 best practices: ~ 𝘴𝘰𝘶𝘳𝘤𝘦 𝘤𝘰𝘥𝘦 + 12 𝘩𝘢𝘯𝘥𝘴-𝘰𝘯 𝘭𝘦𝘴𝘴𝘰𝘯𝘴
MIT License
2.6k stars 432 forks source link

Question about style to write abstract base class #40

Open hientq-1908 opened 1 month ago

hientq-1908 commented 1 month ago

Hi, It's a bit silly, but I want to ask about the way you write base class in file /1-data-crawling/crawlers/base.py. Can you explain the reason you separate it into two base class: BaseCrawler(ABC), then BaseAbstractCrawler(BaseCrawler, ABC). What are benefits of this?