The staticmethod decorator should be applied on the metaclass, to me do not make sense have this declaration on a function because a function already does not receive an implicit first argument (the purpose of the staticmethod decorator).