It caused by PEP 695 with the new syntax introduced with it. So there is no way to not specify T: (int, float) in Subclass
T: (int, float)