Project

Profile

Help

Task #1275

refactor TaskStatus serializer to inherit from ModelSerializer

Added by amacdona@redhat.com about 5 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

The other mongoengine models have a serializer class that inherits from ModelSerializer here:

https://github.com/pulp/pulp/blob/master/server/pulp/server/webservices/views/serializers/__init__.py

The model should know about the serializer, example:

https://github.com/pulp/pulp/blob/master/server/pulp/server/db/model/__init__.py

This convention needs to be implemented so that mongoengine document serialization can occur without knowing the document type.


Checklist

History

#1 Updated by mhrivnak over 4 years ago

  • Sprint Candidate changed from Yes to No

#2 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#3 Updated by bmbouter over 1 year 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.

#4 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF