Description of this issues
In transformer.py the first parameter of some methods is cls. In python cls is by convention reserved for @classmethods. Using it for normal methods can be confusing to the reader.
Suggested solution
cls parameters to self parameters whenever the method is not annotated as @classmethod.
Description of this issues
In transformer.py the first parameter of some methods is
cls. In pythonclsis by convention reserved for@classmethods. Using it for normal methods can be confusing to the reader.Suggested solution
clsparameters toselfparameters whenever the method is not annotated as@classmethod.