def get_user_columns_list(self):
        """
        Returns all model's columns except pk
        """
        return [
            col_name for col_name in self.get_columns_list() if not self.is_pk(col_name)
        ]

        Returns all model's columns except pk
        
flask_appbuilder/models/mongoengine/interface.py