The difference between the "self" and "cls" is defined in PEP 8 in Python. Please be informed that this is not necessary to always mention the cls. It's a coding style. PEP 8 says:
Function and method arguments:
You need to always work with the self for the first argument to instance methods. And you need to use cls for the first argument to class methods.
Do check out the below Python tutorial video: