Using overloads to handle union return types in Python | Hacker News Reader