I don’t think that’s true, as e.g. SubsetRandomSampler 1 is not using this argument.
Note that the constructor of the parent class is not called, which would expect this argument.
I’m not deeply familiar with the typing system in Python, but my best guess is that the optional data_source argument in the parent class was added to make typing compatible (somehow).