Documents should have a serializer by default
All Documents should probably have a serializer, so we don't have to constantly check if our models have serializers before using them.
ModelSerializer appears to have a reasonable default behavior for mongoengine models (which makes sense), so AutoRetryDocument should probably use that as its SERIALIZER attribute. Once that's done, we can remove a bunch of hasattr(model, 'SERIALIZER') checks because we've ensured that the model does, in fact, hasattr.
Updated by bmbouter over 4 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.