When trying to use typing\'s TypeVar to enable the use of generics with return types, I\'m encountering a mypy error whereby the bound argument isn\'t accounted for
bound