This definitely probably isn't possible before Python 3.10 without forcing users to change their code, and that's no fun.