Python @staticmethod() Decorator
Static methods are functions defined in a class that do not have access to the class object or any instance of that class. It's a method that is a member of the class but has no reference to anything in the class. A method is made static be adding the @staticmethod decoration. Static methods do not take
as the first parameter.
Python @classmethod() Decorator
Class methods are functions defined in a class that refer to the class as a whole rather than an individual instance of a class. A method is made a class method by adding the @classmethod decoration. Class methods take the
cls object as the first parameter.