@classmethod<EOL><INDENT>def _get_all_params(cls):<DEDENT>
params = list(cls.PARAMS)<EOL>bases = cls.__bases__<EOL>for base in bases:<EOL><INDENT>if issubclass(base, BaseField):<EOL><INDENT>params.extend(base._get_all_params())<EOL><DEDENT><DEDENT>return params<EOL>
Collect all PARAMS from this class and its parent class.